8000 Remove f"" formatted error · phenoflow/python-cwlgen@4b43052 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4b43052

Browse files
committed
Remove f"" formatted error
1 parent 6eeb6f0 commit 4b43052

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cwlgen/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ def try_parse(value, types):
168168
invalid_values = get_indices_of_element_in_list([False if v is None else True for v in retval], False)
169169
if invalid_values:
170170
invalid_valuesstr = ','.join(str(i) for i in invalid_values)
171-
raise Exception(f"Couldn't parse items at indices {invalid_valuesstr}, corresponding to: "
172-
+ ", ".join([str(value[i]) for i in invalid_values]))
171+
invalid_itemstr = ", ".join([str(value[i]) for i in invalid_values])
172+
raise Exception("Couldn't parse items at indices " + invalid_valuesstr + ", corresponding to: " + invalid_itemstr)
173173
return retval
174174

175175
for T in types:

0 commit comments

Comments
 (0)
0