Skip to content

Commit

Permalink
fix: account for blank RNA column
Browse files Browse the repository at this point in the history
  • Loading branch information
rroutsong committed Jul 17, 2024
1 parent 2b8ce38 commit 5347491
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,8 @@ def valid_input(sheet):
row['DNA'] = os.path.abspath(row['DNA'])
if not os.path.exists(row['DNA']):
raise argparse.ArgumentTypeError(f"Sample sheet path `{row['DNA']}` does not exist")
if 'RNA' in row:
if 'RNA' in row and not row['RNA'] in ('', None, 'None'):
import ipdb; ipdb.set_trace()
RNA_included = True
row['RNA'] = os.path.abspath(row['RNA'])
if not os.path.exists(row['RNA']):
Expand Down

0 comments on commit 5347491

Please sign in to comment.