Skip to content

Commit

Permalink
chore: Refactor parallel mode in SuPy module
Browse files Browse the repository at this point in the history
  • Loading branch information
sunt05 committed Jul 12, 2024
1 parent 1e51ad9 commit fab285b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/supy/_supy_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,7 @@ def run_supy(

if n_grid > 1 and os.name != "nt" and (not serial_mode):
logger_supy.info(f"SuPy is running in parallel mode")
df_output, df_state_final = run_supy_par(
df_forcing, df_state_init, save_state, chunk_day
)
res_supy = run_supy_par(df_forcing, df_state_init, save_state, chunk_day)
else:
logger_supy.info(f"SuPy is running in serial mode")
try:
Expand Down

0 comments on commit fab285b

Please sign in to comment.