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

FileLoad Error #2

Open
Ianyliu opened this issue Apr 25, 2023 · 2 comments
Open

FileLoad Error #2

Ianyliu opened this issue Apr 25, 2023 · 2 comments

Comments

@Ianyliu
Copy link

Ianyliu commented Apr 25, 2023

I tried to use PVElab to load a Nifti file as before and it stopped working, showing the error below. When I tried the PET Nifti files that worked before, they no longer worked for some reason...

- _______Time stamp: 8.22.24.4.2023 (mm.hh.dd.mm.yyyy) ----(Task: FileLoad, Method: Load 1 PET + 1 MR) 
- checkIn: FileLoad1MR_wrapper ----(Task: FileLoad, Method: Load 1 PET + 1 MR) 
- ---------------- CATCH: error is detected ------------------ ----(Task: FileLoad, Method: Load 1 PET + 1 MR) 
- Error in method: Undefined function 'reslice_nii' for input arguments of type 'char'. ----(Task: FileLoad, Method: Load 1 PET + 1 MR) 
- _______Time stamp: 8.22.24.4.2023 (mm.hh.dd.mm.yyyy) ----(Task: FileLoad, Method: Load 1 PET + 1 MR) 
- Error detected, task is cleaned-up at checkOut. ----(Task: FileLoad, Method: Load 1 PET + 1 MR) 
- _______Time stamp: 15.22.24.4.2023 (mm.hh.dd.mm.yyyy) ----(Task: FileLoad, Method: Load 1 PET + 1 MR) 
- checkIn: FileLoad1MR_wrapper ----(Task: FileLoad, Method: Load 1 PET + 1 MR) 
- ---------------- CATCH: error is detected ------------------ ----(Task: FileLoad, Method: Load 1 PET + 1 MR) 
- Error in method: Undefined function 'reslice_nii' for input arguments of type 'char'. ----(Task: FileLoad, Method: Load 1 PET + 1 MR) 
- _______Time stamp: 15.22.24.4.2023 (mm.hh.dd.mm.yyyy) ----(Task: FileLoad, Method: Load 1 PET + 1 MR) 
- Error detected, task is cleaned-up at checkOut. ----(Task: FileLoad, Method: Load 1 PET + 1 MR) 

I also noticed that the code from GitHub and the one downloaded from the website is different. (See image below)
image

If there is no reslice_nii function, what should I do to fix my problem?

@Ianyliu
Copy link
Author

Ianyliu commented Apr 25, 2023

The file I loaded doesn't seem to have a problem as I could read it in other software (ex. 3D Slicer, MRI cron) without any problem.

One temporary solution was to convert it to .img file and input it. Although this worked, but it did not ask for a .hdr file, which means it's working with incomplete information...

@Ianyliu
Copy link
Author

Ianyliu commented Apr 25, 2023

Another update: I converted both the T1w and PET images into .img files using MRI cron and inputed the data into PVElabs, which went successfully.

However, when I tried to use AIR for registration, AIR wasn't able to process the file for some reason

(AIR is indeed working because I was able to successfully use it in PVElabs before the file load error suddenly came up)

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

No branches or pull requests

1 participant