Skip to content

Commit

Permalink
fix code issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedor Baart committed Feb 29, 2024
1 parent 20354db commit e938465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opentnsim/vessel_traffic_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@ def combine_tidal_windows(self, tidal_window_1, tidal_window_2):
limit_1 if not math.isnan(limit_1) else limit_2 for limit_1, limit_2 in tidal_accessibility.Limit.to_numpy()
]
tidal_accessibility_condition = [
condition_1 if type(condition_1) == str else condition_2
condition_1 if isinstance(condition_1, str) else condition_2
for condition_1, condition_2 in tidal_accessibility.Condition.to_numpy()
]
tidal_accessibility_accessibility = [
Expand Down

0 comments on commit e938465

Please sign in to comment.