# HG changeset patch # User luca_milaz # Date 1719955400 0 # Node ID 86476925ab8a31e20ab0039990365aff63fdcbbd # Parent 829f9349099d0c1bb6c9a3c3bd5a24c931d9b59f Uploaded diff -r 829f9349099d -r 86476925ab8a marea_2_0/flux_sampling.py --- a/marea_2_0/flux_sampling.py Tue Jul 02 21:19:38 2024 +0000 +++ b/marea_2_0/flux_sampling.py Tue Jul 02 21:23:20 2024 +0000 @@ -190,6 +190,10 @@ if not os.path.exists('flux_sampling'): os.makedirs('flux_sampling') + utils.logWarning( + "Warning: gene(s) not found in class the expression level for this gene will be considered NaN", + ARGS.out_log) + global ARGS ARGS = process_args(sys.argv) @@ -203,9 +207,7 @@ model2 = load_custom_model( utils.FilePath.fromStrPath(ARGS.input[1]), ARGS.model_name[1].ext) - utils.logWarning( - "Warning: gene(s) not found in class the expression level for this gene will be considered NaN", - ARGS.out_log) + a = pd.DataFrame(columns=["a"])