# HG changeset patch # User luca_milaz # Date 1721420605 0 # Node ID 83a8e208a618b4ecc79c5031927f3071c4f1124f # Parent fd3d3516436af7c683d8c1ae15046788c196be46 Uploaded diff -r fd3d3516436a -r 83a8e208a618 marea_2/custom_data_generator.py --- 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