diff --git a/.github/workflows/docs_pr.yml b/.github/workflows/docs_pr.yml index ff1787ca..f7fa0817 100644 --- a/.github/workflows/docs_pr.yml +++ b/.github/workflows/docs_pr.yml @@ -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/ diff --git a/PopPUNK/__init__.py b/PopPUNK/__init__.py index e2387b9f..cbaf1fcf 100644 --- a/PopPUNK/__init__.py +++ b/PopPUNK/__init__.py @@ -3,7 +3,7 @@ '''PopPUNK (POPulation Partitioning Using Nucleotide Kmers)''' -__version__ = '2.7.0' +__version__ = '2.7.1' # Minimum sketchlib version SKETCHLIB_MAJOR = 2 diff --git a/PopPUNK/assign.py b/PopPUNK/assign.py index c4209839..0d487e01 100644 --- a/PopPUNK/assign.py +++ b/PopPUNK/assign.py @@ -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"