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

Error in Partial least square regression analysis for only cortical regions included #22

Open
lenachenpumc opened this issue Mar 3, 2024 · 1 comment

Comments

@lenachenpumc
Copy link

Dear alegiac95,
123

Thank you for your toolbox "Imaging-transcriptomics".
I have met bug performing this code
(transcriptomics) PS C:\Users\lena> imagingtranscriptomics --input F:/banana/Reslice_7_1.nii --regions cort --no-gsea pls --ncomp 1

The error is
Traceback (most recent call last): File "D:\anaconda\envs\transcriptomics\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "D:\anaconda\envs\transcriptomics\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "D:\anaconda\envs\transcriptomics\Scripts\imagingtranscriptomics.exe\__main__.py", line 7, in <module> sys.exit(main()) File "D:\anaconda\envs\transcriptomics\lib\site-packages\imaging_transcriptomics\script\imagingtranscriptomics.py", line 103, in main transcriptomics.run(outdir, File "D:\anaconda\envs\transcriptomics\lib\site-packages\imaging_transcriptomics\transcriptomics.py", line 320, in run self.scan_data[0:34, :] IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

Please, how to solve this error? Thank you!

@alegiac95
Copy link
Owner

Hi, this issues seems to be related somehow in a small bug, which should now be corrected. try to upgrade the toolbox and see if the error keeps popping 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

2 participants