Skip to content
This repository was archived by the owner on Jun 9, 2020. It is now read-only.

Commit 2219e37

Browse files
committed
Fixing string check to be python3 compatible
1 parent 39e8e7f commit 2219e37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwlgen/workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def __init__(self, workflow, id, tool, params):
183183
workflow.steps.append(step)
184184

185185
for i, j in params.items():
186-
if isinstance(j, basestring):
186+
if isinstance(j, six.string_types):
187187
step.inputs.append(WorkflowStepInput(i, default=j))
188188
elif isinstance(j, Variable):
189189
step.inputs.append(WorkflowStepInput(i, src=j.path()))

0 commit comments

Comments
 (0)