Skip to content

Commit

Permalink
Update README.md (#102)
Browse files Browse the repository at this point in the history
The UnconsumedFilesException instance variable for errors in the has
been changed from `errors` to `file_errors` and hence this PR updates
the correct variable name in the comments in the README.md
  • Loading branch information
silvandeleemput authored Jul 27, 2023
1 parent 7eeef07 commit 4a2d4fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ try:
process(sitk_image) # etc. you can also look at result.name for the name of the file,
# and result.consumed_files to see what files were used for this image
except UnconsumedFilesException as e:
# e.errors is keyed with a Path to a file that could not be consumed,
# e.file_errors is keyed with a Path to a file that could not be consumed,
# with a list of all the errors found with loading it,
# the user can then choose what to do with that information
...
Expand Down

0 comments on commit 4a2d4fb

Please sign in to comment.