Skip to content

Commit fe955ba

Browse files
authored
change drop_vars in run.py (#16)
1 parent b9b6349 commit fe955ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pyCIAM/run.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,7 +1425,6 @@ def execute_pyciam(
14251425
# Rechunk and save final
14261426
###############################
14271427
client.gather(ciam_futs_2.tolist())
1428-
assert [f.status == "finished" for f in ciam_futs_2.tolist()]
14291428
client.cancel(ciam_futs_2)
14301429
del ciam_futs_2
14311430

@@ -1437,7 +1436,7 @@ def execute_pyciam(
14371436
storage_options=storage_options,
14381437
chunks={"case": -1, seg_var: this_chunksize},
14391438
)
1440-
.drop("npv")
1439+
.drop_vars("npv")
14411440
.chunk({"year": 10})
14421441
.persist()
14431442
)

0 commit comments

Comments
 (0)