[BUGFIX] Move *.dcm Files to data Subdirectory - #10
Conversation
3dgallery data
…-data Add cylinder in crossflow dataset
Add pvd files from paraview data
|
First see comments in pyvista/pyvista#2460. Right now that PR isn't even downloading any data. But I think you are right that the pyvista downloading functionality does not handle folders well currently. It only works well with a zip file. You may need to zip this IMO, it is easiest to test this whole thing out using https://docs.pyvista.org/extras/vtk_data.html You can use your current PR branch to test locally. This means you don't need to have this PR merged to make sure it works right. Just make sure you clear your examples cache before testing. |
Fully agree. Most efficient to zip the files and certainly easier to download from pyvista. |
|
@MatthewFlamm @akaszynski Thank you! Apologies, as this is my first PR. I also notice this PR is trying to add |
|
I think you need to create a new branch from master: |
`vtk.vtkDICOMImageReader` cannot parse non-dcm files in a folder.
daf1c73 to
abb8742
Compare
When pulling from upstream ( I decided instead to amend my local master (deleting the file), rebase |
Folders cannot be downloaded using the GitHub API, which is causing DICOM Reader tests to fail in `pyvista`. Instead, zip the folder. This will be unzipped when downloaded.
|
Were you planning on zipping this or leaving as is? |
I zipped it. It's in |
|
@pyvista/developers @akaszynski Would you please kindly review and let me know if this PR is okay? |
vtk.vtkDICOMImageReadercannot parse non-dcm files in a folder. To fix this, place all*.dcmfiles in a separatedatasubfolder.