Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert string None to Python None #218

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/hatchet/utils/ArgParsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,9 @@ def parse_combine_counts_args(args=None):
)
if args.totalcounts is not None and not isfile(args.totalcounts):
raise ValueError(error('The specified file for total read counts does not exist!'))

if args.phase == 'None':
args.phase = None
ensure(
(args.phase is None) or isfile(args.phase),
'The specified phasing file does not exist!',
Expand Down
Loading