changeset 127:86476925ab8a draft

Uploaded
author luca_milaz
date Tue, 02 Jul 2024 21:23:20 +0000
parents 829f9349099d
children 78765e20fae0
files marea_2_0/flux_sampling.py
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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"])