# HG changeset patch # User luca_milaz # Date 1720444476 0 # Node ID 166ed738733a2162740e97acaa83297e2e51a229 # Parent 9a87c5ebc1d8c33b6786cdb7b4c7445b3717ee8e Uploaded diff -r 9a87c5ebc1d8 -r 166ed738733a marea_2_0/model_generator.py --- a/marea_2_0/model_generator.py Mon Jul 08 13:13:01 2024 +0000 +++ b/marea_2_0/model_generator.py Mon Jul 08 13:14:36 2024 +0000 @@ -112,13 +112,9 @@ model_type :utils.Model = ARGS.model_selector if model_type is utils.Model.Custom: - model = model_type.getCOBRAmodel(utils.FilePath.fromStrPath(ARGS.model_name), utils.FilePath.fromStrPath(ARGS.model_name).ext) + model = model_type.getCOBRAmodel(customPath = utils.FilePath.fromStrPath(ARGS.model_name), customExtension = utils.FilePath.fromStrPath(ARGS.model_name).ext) else: model = model_type.getCOBRAmodel() - utils.logWarning( - model.show(), - ARGS.out_log) - '''for index, row in ras.iterrows(): #iterate over cells RAS generate_model(index, row, medium.loc[index])'''