Skip to content

Commit

Permalink
Merge pull request #245 from bacpop/i243-fix
Browse files Browse the repository at this point in the history
Proceed with update-db on QC failure
  • Loading branch information
johnlees authored Nov 17, 2022
2 parents 4ee07a3 + 1118e04 commit 4b9818d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions PopPUNK/assign.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,10 +495,6 @@ def assign_query_hdf5(dbFuncs,
else:
qNames, qrDistMat = \
prune_query_distance_matrix(rNames, qNames, failed_samples, qrDistMat)[0:2]
if update_db:
sys.stderr.write("Queries contained outlier distances, "
"not updating database\n")
update_db = False

# Load the network based on supplied options (never used for lineage models)
if model.type != 'lineage':
Expand Down Expand Up @@ -594,10 +590,6 @@ def assign_query_hdf5(dbFuncs,
qNames, qrDistMat, queryAssignments = \
prune_query_distance_matrix(rNames, qNames,
failed_samples, qrDistMat, queryAssignments)
if update_db:
sys.stderr.write("Queries contained too many links, "
"not updating database\n")
update_db = False

# Assign clustering by adding to network
if graph_weights:
Expand Down

0 comments on commit 4b9818d

Please sign in to comment.