Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Fail gracefully when no volume file was found #10

Closed
fphammerle opened this issue May 4, 2019 · 0 comments
Closed

Fail gracefully when no volume file was found #10

fphammerle opened this issue May 4, 2019 · 0 comments

Comments

@fphammerle
Copy link
Owner

Traceback (most recent call last):
File ".../bin/freesurfer-volume-reader", line 11, in
load_entry_point('freesurfer-volume-reader', 'console_scripts', 'freesurfer-volume-reader')()
File ".../freesurfer_volume_reader/main.py", line 59, in main
united_volume_frame = pandas.concat(volume_frames, ignore_index=True, sort=False)
File ".../lib/python3.6/site-packages/pandas/core/reshape/concat.py", line 228, in concat
copy=copy, sort=sort)
File ".../lib/python3.6/site-packages/pandas/core/reshape/concat.py", line 262, in init
raise ValueError('No objects to concatenate')
ValueError: No objects to concatenate

fphammerle added a commit that referenced this issue May 4, 2019
… were found

previously:
> Traceback (most recent call last):
> [...]
> File ".../freesurfer_volume_reader/main.py", line 59, in main
> united_volume_frame = pandas.concat(volume_frames, ignore_index=True, sort=False)
> [...]
> ValueError: No objects to concatenate

#10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant