changeset 85:83a8e208a618 draft

Uploaded
author luca_milaz
date Fri, 19 Jul 2024 20:23:25 +0000
parents fd3d3516436a
children 3da6344347cd
files marea_2/custom_data_generator.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2/custom_data_generator.py	Fri Jul 19 20:20:13 2024 +0000
+++ b/marea_2/custom_data_generator.py	Fri Jul 19 20:23:25 2024 +0000
@@ -127,7 +127,7 @@
             if r.get_coefficient(m.id)>0:
                 positiveCoeff=1;
         if (positiveCoeff==0 and r.lower_bound<0):
-            trueMedium.append(r)
+            trueMedium.append(r.id)
 
     df_medium = pd.DataFrame()
     df_medium["reaction"] = trueMedium