Reinvent icon indicating copy to clipboard operation
Reinvent copied to clipboard

configs/config.json absent from installation instructions

Open j3mdamas opened this issue 3 years ago • 3 comments

Hi, When doing a run, if the configs/config.json is not done, this is faced:

Traceback (most recent call last):
  File "/progs/all/opensource/reinvent/3.0/source/input.py", line 20, in <module>
    manager = Manager(configuration)
  File "/progs/all/opensource/reinvent/3.0/source/running_modes/manager.py", line 13, in __init__
    self._load_environmental_variables()
  File "/progs/all/opensource/reinvent/3.0/source/running_modes/manager.py", line 22, in _load_environmental_variables
    with open(os.path.join(project_root, '../configs/config.json'), 'r') as f:

It is mentioned on the README.md, but only on the Tests section, which can be misleading when installing Reinvent. Very minor, but thought I should mention it.

j3mdamas avatar Sep 01 '21 20:09 j3mdamas

Thanks, yeah I realized this isnt very clear as I got quite the number of related issues.

patronov avatar Sep 24 '21 00:09 patronov

Same error happens to me. Seems there's an error with the defult config file.

The question is where is the corrent path?

charlesxu90 avatar Nov 18 '21 16:11 charlesxu90

I found a same issue, which has a solution. https://github.com/MolecularAI/Reinvent/issues/35

charlesxu90 avatar Nov 18 '21 16:11 charlesxu90