You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get more information about a seed-to-voxel correlation dscalar file, generated with ciftify_seed_corr. I tried ciftify_peaktable and ciftify_statclust_report but got the same error: AttributeError: 'Index' object has no attribute 'get_values'. I used these functions with and without extra options, but the errors persist. I should mention that ciftify_statclust_report does generate a _clust.dlabel.nii, but no csv file. Any help will be greatly appreciated!
Traceback (most recent call last):
File "/Users/katerina/opt/anaconda3/bin/ciftify_peaktable", line 8, in <module>
sys.exit(main())
File "/Users/katerina/opt/anaconda3/lib/python3.9/site-packages/ciftify/bin/ciftify_statclust_report.py", line 426, in main
ret = run_ciftify_dlabel_report(arguments, tmpdir)
File "/Users/katerina/opt/anaconda3/lib/python3.9/site-packages/ciftify/bin/ciftify_statclust_report.py", line 182, in run_ciftify_dlabel_report
for pd_idx in df.index.get_values():
AttributeError: 'Index' object has no attribute 'get_values'
Pandas version: 1.3.4
Python version: 3.9.7
Best,
Katerina
The text was updated successfully, but these errors were encountered:
Hi Katerina,
I had the same issue. I think the reason is that the df.index.get_values() syntax is no longer supported in pandas (see pandas documentation). As a workaround, I created a conda environment with an older version of pandas:
Hello,
I'm trying to get more information about a seed-to-voxel correlation dscalar file, generated with ciftify_seed_corr. I tried ciftify_peaktable and ciftify_statclust_report but got the same error: AttributeError: 'Index' object has no attribute 'get_values'. I used these functions with and without extra options, but the errors persist. I should mention that ciftify_statclust_report does generate a _clust.dlabel.nii, but no csv file. Any help will be greatly appreciated!
Pandas version: 1.3.4
Python version: 3.9.7
Best,
Katerina
The text was updated successfully, but these errors were encountered: