Skip to content

Commit

Permalink
Adding support for waypoints without instruments
Browse files Browse the repository at this point in the history
Useful for e.g. sailing with ADCP turned on
  • Loading branch information
erikvansebille committed Feb 21, 2025
1 parent f66d403 commit d92a069
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/virtualship/expedition/do_expedition.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ def do_expedition(expedition_dir: str | Path, input_data: Path | None = None) ->

# remove instrument configurations that are not in schedule
instruments_in_schedule = [
waypoint.instrument.name for waypoint in schedule.waypoints
waypoint.instrument.name
for waypoint in schedule.waypoints
if waypoint.instrument
]

for instrument in [
Expand Down

0 comments on commit d92a069

Please sign in to comment.