From 9bc03f8b54810df88d2ba3cd89c5e7f96ec9308c Mon Sep 17 00:00:00 2001 From: chuan-wang Date: Thu, 8 Feb 2024 09:58:01 +0100 Subject: [PATCH] Fix bug with isinstance clause --- VERSIONLOG.md | 4 ++++ taca/utils/transfer.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/VERSIONLOG.md b/VERSIONLOG.md index ecadad67..09cf7f34 100644 --- a/VERSIONLOG.md +++ b/VERSIONLOG.md @@ -1,5 +1,9 @@ # TACA Version Log +## 20240208.1 + +Fix bug with isinstance clause + ## 20240202.1 Use abspath for Anglerfish stderr path, make it possible to instantiate ONT run w/o specifying the type, add more info to the ONT db update subcommand. diff --git a/taca/utils/transfer.py b/taca/utils/transfer.py index 693f0725..6dd45791 100644 --- a/taca/utils/transfer.py +++ b/taca/utils/transfer.py @@ -56,7 +56,7 @@ def format_options(self): if val is None: cmdopts.append(param) else: - if isinstance(type(val), str): + if isinstance(val, str): val = [val] for v in val: cmdopts.append(f"{param}={v}")