In main.py, in the functionrun_prism, if the args.output already exists, then the first condition is unmet and output_dir is still None. os.makedirs(output_dir) will throw the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<frozen os>", line 210, in makedirs
File "<frozen posixpath>", line 103, in split
TypeError: expected str, bytes or os.PathLike object, not NoneType
In main.py, in the function
run_prism, if theargs.outputalready exists, then the first condition is unmet andoutput_diris stillNone.os.makedirs(output_dir)will throw the following error: