POSYDON is a next-generation single and binary-star population synthesis code incorporating full stellar structure and evolution modeling with the use of MESA.
BSD 3-Clause "New" or "Revised" License
29
stars
20
forks
source link
TypeError in active_learning/psy_cris/run_params/run_psycris_sequence.py #134
When I do import posydon.active_learning.psy_cris.run_params.run_psycris_sequence I get the following error:
File ~/POSYDON/posydon/active_learning/psy_cris/run_params/run_psycris_sequence.py:45
43 inifile_path = args.inifile_path
44 save_data_dir = args.save_data_dir
---> 45 if not os.path.isfile(inifile_path):
46 raise ValueError("Inifile not found. Please check that the path is correct.\nGiven: {}".format(inifile_path))
47 if not os.path.isdir(save_data_dir):
File <frozen genericpath>:30, in isfile(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
It looks like the variables do not get initialized well and therefore create this TypeError.
When I do
import posydon.active_learning.psy_cris.run_params.run_psycris_sequence
I get the following error:It looks like the variables do not get initialized well and therefore create this TypeError.