Skip to content

Commit 56224af

Browse files
RoryBarnesclaude
andcommitted
Fix TypeError in error message by casting line number to string
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2b7c131 commit 56224af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vspace/vspace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def main():
213213
raise IOError("File type incompatible for predefined prior mode. Acceptable file types: npy, ascii formatted txt, ascii formatted dat")
214214
except:
215215
print('ERROR: Incorrect number of arguments.')
216-
print(inputf+', line '+i+': '+lines[i])
216+
print(inputf+', line '+str(i)+': '+lines[i])
217217
exit()
218218
# End pass 1a through input file -------------------------------
219219
# End Megans Addition ------------------------------------------

0 commit comments

Comments
 (0)