Skip to content

Commit

Permalink
Allow for test cells that have no project.
Browse files Browse the repository at this point in the history
  • Loading branch information
tbooth committed Feb 2, 2024
1 parent 1353106 commit a1027ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions smrtino/ParseXML.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ def get_readset_info(xmlfile, smrtlink_base=None):
# Take the project from the sample in any case
info['project'] = info['bs_project']
else:
# Really?
info['project'] = info['ws_project']
# Really? Could be a test run and not have a project.
info['project'] = info.get('ws_project') or "none"

if smrtlink_base:
info['_link'] = get_smrtlink_link(root, smrtlink_base)
Expand Down

0 comments on commit a1027ef

Please sign in to comment.