Skip to content

Commit

Permalink
int to str for join
Browse files Browse the repository at this point in the history
  • Loading branch information
Helveg committed Feb 8, 2024
1 parent 455f694 commit a8dcc72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bsb/morphologies/parsers/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def _swc_parse(self, content: str):
]
except Exception:
raise RuntimeError(f"Could not parse SWC content")
err_lines = ", ".join(i for i, d in enumerate(data) if len(d) != 7)
err_lines = ", ".join(str(i) for i, d in enumerate(data) if len(d) != 7)
if err_lines:
raise ValueError(f"SWC incorrect on lines: {err_lines}")
return np.array(data)
Expand Down

0 comments on commit a8dcc72

Please sign in to comment.