From 5666c5a0d93212d85a852ab9d21fdf6a4b4d58f4 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 10 Oct 2022 18:12:51 +0100 Subject: [PATCH] typo --- aimodel/src/subcommands/pretrain_predict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aimodel/src/subcommands/pretrain_predict.py b/aimodel/src/subcommands/pretrain_predict.py index 26581b8..5e1ab84 100644 --- a/aimodel/src/subcommands/pretrain_predict.py +++ b/aimodel/src/subcommands/pretrain_predict.py @@ -111,7 +111,7 @@ def run(args): i_file = 0 handle.close() logger.info(f"PROGRESS:file {files_done}") - handle = handle_open_modeset(filepath_output.replace("+d", str(files_done+1)), write_mode, hand_mode=output_mode) + handle = handle_open_modeset(filepath_output.replace("+d", str(files_done+1)), write_mode, handle_mode=output_mode) if output_mode == MODE_JSONL: handle.write(json.dumps(step_rainfall.numpy().tolist(), separators=(',', ':'))+"\n") # Ref https://stackoverflow.com/a/64710892/1460422