Skip to content

Commit

Permalink
Register enrich_logbook flow
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentAntoine committed Apr 2, 2024
1 parent 92482ae commit 1e79353
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion datascience/src/pipeline/flows/enrich_logbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,8 @@ def extract_enrich_load_logbook(
pno_emission_period=period, trips_period=trips_period
)
logger.info(
f"Extracted {len(pnos_species_and_gears)} PNO species from {pnos_species_and_gears.logbook_reports_pno_id.nunique()} PNOs."
f"Extracted {len(pnos_species_and_gears)} PNO species from "
f"{pnos_species_and_gears.logbook_reports_pno_id.nunique()} PNOs."
)

logger.info("Computing PNO segments...")
Expand Down
2 changes: 2 additions & 0 deletions datascience/src/pipeline/flows_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
controls_open_data,
current_segments,
districts,
enrich_logbook,
enrich_positions,
facade_areas,
fao_areas,
Expand Down Expand Up @@ -266,6 +267,7 @@
controls_open_data.flow,
current_segments.flow,
districts.flow,
enrich_logbook.flow,
enrich_positions.flow,
logbook.flow,
facade_areas.flow,
Expand Down

0 comments on commit 1e79353

Please sign in to comment.