Closed trevorb1 closed 1 year ago
This should be considered a working PR! It still needs a thorough review!
Hi @trevorb1,
thanks a lot for this comprehensive update!
I cloned your branch and tried to test it, but when trying python main.py --help
and python main.py --step-length 5 --solver gurobi
I get the below error:
Traceback (most recent call last): File "/Users/haukeh/GitHub/trevorb1/OSeMOSYS_step/src/main.py", line 32, in <module> logging.basicConfig(filename=path_log, level=logging.WARNING) File "/Users/haukeh/opt/miniconda3/envs/osemosys_step-tervor-update/lib/python3.11/logging/__init__.py", line 2050, in basicConfig h = FileHandler(filename, mode, ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/haukeh/opt/miniconda3/envs/osemosys_step-tervor-update/lib/python3.11/logging/__init__.py", line 1181, in __init__ StreamHandler.__init__(self, self._open()) ^^^^^^^^^^^^ File "/Users/haukeh/opt/miniconda3/envs/osemosys_step-tervor-update/lib/python3.11/logging/__init__.py", line 1213, in _open return open_func(self.baseFilename, self.mode, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/Users/haukeh/GitHub/trevorb1/OSeMOSYS_step/logs/log.log'
I understand that some logs folder and file are missing. Should I add them?
General workflow update: