From b0499e7ab24bdce15be3ca22cc02b35b7314beac Mon Sep 17 00:00:00 2001 From: anmol thapar Date: Wed, 11 Sep 2024 09:50:59 +0100 Subject: [PATCH 1/2] fix: move indent of printExternalClusters to inside else block above --- PopPUNK/__init__.py | 2 +- PopPUNK/assign.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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" From ce9bd574e6814f3f8c5c3992a7ff29126fffb456 Mon Sep 17 00:00:00 2001 From: anmol thapar Date: Wed, 11 Sep 2024 10:03:44 +0100 Subject: [PATCH 2/2] fix: depricated upload artifact --- .github/workflows/docs_pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/