Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading several dicom files #149

Closed
yardgeo opened this issue Jan 20, 2021 · 3 comments
Closed

Loading several dicom files #149

yardgeo opened this issue Jan 20, 2021 · 3 comments
Labels
question Further information is requested
Milestone

Comments

@yardgeo
Copy link

yardgeo commented Jan 20, 2021

Firstly thank you for your work producing this.

I tried to upload two dicom files using dwv api (dwv.App.loadFiles)and have faced with load-item error with the second one. Uploading any one file works fine, but when i try to upload several, only the first one is uploaded, the rest give an error. The same problem occurred when uploading the same files to the demo version - https://ivmartel.github.io/dwv-vue/demo/stable/index.html

I attach the files that caused the error for verification. Both anonymized: test.zip

Any ideas how to fix this, or is this my fault?

Thank you in advance

@ivmartel ivmartel added the question Further information is requested label Jan 21, 2021
@ivmartel ivmartel added this to the 0.5.0 milestone Jan 21, 2021
@ivmartel
Copy link
Owner

Hi, the error happens because both files have different orientation. The viewer does not support loading data with different orientation since it does not know it they are related or not. There is an issue on dwv to create a 'pre' loader to filter unrelated data, see dwv/issues/646. In the mean time, you need to sort data manually.

@yardgeo
Copy link
Author

yardgeo commented Jan 21, 2021

Hi,
Sorting by orientation solve the problem.

Thank you very math for your help!

@yardgeo yardgeo closed this as completed Jan 21, 2021
@ikhizarwork
Copy link

@yardgeo how did you solved the orientation problem ? can you please help ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants