Closed finozzifa closed 3 weeks ago
I have exported the value of the objective function at the end of _solvenetwork.py when I execute
snakemake --cores all run_test
The code snippet is
with open("./data/objective_function.txt", "w") as obj_func_file:
obj_func_file.write("Objective function: {} \n".format(n.objective))
obj_func_file.write("Objective constant: {} \n".format(n.objective_constant))
Results obtained from the main branch
Objective function: nan
Objective constant: 1862023.75
Results obtained from the issue_312_use_single_config branch
Objective function: nan
Objective constant: 1862023.75
This looks awesome to me! :D @finozzifa In my opinion we can merge it right away if CI runs.
As a comment, if you use vscode, I recommend to:
Hi @davide-f , thanks. It seems to me that all checks have passed and I already follow your recommendations on the environment and pre-commit. Thanks :)
Closes # (if applicable).
The code resolves point Use a single config file from Issue #312.
Changes proposed in this Pull Request
Checklist
envs/environment.yaml
andenvs/environment.docs.yaml
.config.default.yaml
,config.tutorial.yaml
, andtest/config.test1.yaml
.doc/configtables/*.csv
and line references are adjusted indoc/configuration.rst
anddoc/tutorial.rst
.doc/release_notes.rst
is amended in the format of previous release notes, including reference to the requested PR.