Skip to content

Commit

Permalink
Merge pull request #324 from bacpop/fix-external-cluster-duplicate
Browse files Browse the repository at this point in the history
Fix External Clusters csv being duplicated
  • Loading branch information
nickjcroucher authored Sep 19, 2024
2 parents 38b5d18 + ce9bd57 commit 4032bff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
docs-folder: "docs/"

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: DocumentationHTML
path: docs/_build/html/
2 changes: 1 addition & 1 deletion PopPUNK/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

'''PopPUNK (POPulation Partitioning Using Nucleotide Kmers)'''

__version__ = '2.7.0'
__version__ = '2.7.1'

# Minimum sketchlib version
SKETCHLIB_MAJOR = 2
Expand Down
6 changes: 3 additions & 3 deletions PopPUNK/assign.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,9 +718,9 @@ def assign_query_hdf5(dbFuncs,
cluster_f.write(",".join((sample, str(cluster))) + "\n")
cluster_f.close()

if external_clustering is not None:
printExternalClusters(isolateClustering, external_clustering,
output, rNames, printRef=False)
if external_clustering is not None:
printExternalClusters(isolateClustering, external_clustering,
output, rNames, printRef=False)

# Update DB as requested
dists_out = output + "/" + os.path.basename(output) + ".dists"
Expand Down

0 comments on commit 4032bff

Please sign in to comment.