Skip to content

Commit

Permalink
Remove assumption of reference database when updating
Browse files Browse the repository at this point in the history
  • Loading branch information
nickjcroucher committed Sep 20, 2024
1 parent e811b7b commit 962b198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PopPUNK/assign.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ def assign_query_hdf5(dbFuncs,
storePickle(combined_seq, combined_seq, True, None, dists_out)

# Clique pruning
if model.type != 'lineage':
if model.type != 'lineage' and os.path.isfile(ref_file_name):
existing_ref_list = []
with open(ref_file_name) as refFile:
for reference in refFile:
Expand Down

0 comments on commit 962b198

Please sign in to comment.