Skip to content

Commit

Permalink
Fix bug with isinstance clause
Browse files Browse the repository at this point in the history
  • Loading branch information
chuan-wang committed Feb 8, 2024
1 parent abaa38a commit 9bc03f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions VERSIONLOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion taca/utils/transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 9bc03f8

Please sign in to comment.