Skip to content

Bug: Error in run_prism if args.output already exists #38

Description

@omgol411

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions