You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently in _load_seq.py there are a lot of assertions without helpful error messages when it comes to the cases if a genomedata folder/file already exists and trying to create the opposite file/folder type.
ifmode=="dir":
ifgdpath.exists():
assertgdpath.isdir()
else:
gdpath.makedirs()
elifmode=="file":
assertnotgdpath.exists()
gdpath.touch() # Create file (then Genomedata archive will be a file)
The text was updated successfully, but these errors were encountered:
Agree, this would be nice. Probably most of the assertions here and elsewhere should be turned into raising into proper exceptions with sensible error messages.
Original report (archived issue) by Eric Roberts (Bitbucket: ericr86, GitHub: ericr86).
Currently in _load_seq.py there are a lot of assertions without helpful error messages when it comes to the cases if a genomedata folder/file already exists and trying to create the opposite file/folder type.
The text was updated successfully, but these errors were encountered: