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 with QAP build, looks like something to do with afni/base.py #115

Open
hpardoe opened this issue Jul 6, 2017 · 0 comments
Open

Error with QAP build, looks like something to do with afni/base.py #115

hpardoe opened this issue Jul 6, 2017 · 0 comments

Comments

@hpardoe
Copy link

hpardoe commented Jul 6, 2017

Hi, I'm trying to run an ABIDEII subject through QAP to test if the install worked correctly but I get the following error, full output is pasted below. It looks like the nipype/nipype/interfaces/afni/base.py repo was updated a couple of weeks ago, perhaps it's something to do with that?

File "/usr/local/lib/python2.7/dist-packages/nipype/interfaces/afni/base.py", line 54, in version
currv = str(e).split('\n')[4].split('=', 1)[1].strip()
IndexError: list index out of range

Full output:
hpardoe@burekup:/mnt/raid1/qap/test$ qap_measures_pipeline.py ./output.yml ./test_run_config.yml
/usr/local/lib/python2.7/dist-packages/configparser-3.5.0-py2.7.egg/backports/init.py:8: UserWarning: Module configparser was already imported from /usr/local/lib/python2.7/dist-packages/configparser-3.5.0-py2.7.egg/configparser.pyc, but /usr/lib/python2.7/dist-packages is being added to sys.path
import pkg_resources
170706-12:53:35,181 workflow INFO:
QAP version 1.0.8
170706-12:53:35,182 workflow INFO:
Pipeline start time: 2017-07-06_12:53:35
170706-12:53:35,185 workflow INFO:
Starting bundle 1 out of 1..
170706-12:53:35,185 workflow INFO:
Participant info: _29006_session_1_anat_1
170706-12:53:35,185 workflow INFO:
Configuration settings:
{'stop_idx': 'End', 'num_sessions_at_once': 1, 'scan_id': 'anat_1', 'run_name': 'qap_run', 'num_bundles_at_once': 1, 'output_directory': '/mnt/raid1/qap/test/output', 'write_report': True, 'working_directory': '/tmp/workdir', 'pipeline_name': 'qap_run', 'pipeline_config_yaml': '/mnt/raid1/qap/test/test_run_config.yml', 'site_name': 'ABIDEII-BNI_1', 'exclude_zeros': False, 'cluster_system': 'None', 'num_processors': 1, 'available_memory': 2, 'write_graph': False, 'subject_id': '29006', 'write_all_outputs': False, 'session_id': 'session_1', 'subject_list': '/mnt/raid1/qap/test/output.yml', 'workflow_log_dir': '/mnt/raid1/qap/test/output/qap_run_logs/20170706_12_53_35_1bundles', 'template_head_for_anat': '/home/hpardoe/fsl/fsl/data/standard/MNI152_T1_2mm.nii.gz', 'start_idx': 0}
170706-12:53:35,185 workflow INFO:
Contents of resource pool for this participant:
{'site_name': 'ABIDEII-BNI_1', 'anatomical_scan': '/mnt/raid1/qap/test/ABIDEII-BNI_1/29006/session_1/anat_1/anat.nii.gz', 'starter': (starter_node, 'starter')}
Traceback (most recent call last):
File "/usr/local/bin/qap_measures_pipeline.py", line 10, in
obj.run()
File "/usr/local/lib/python2.7/dist-packages/qap/cli.py", line 611, in run
results.append(self.run_one_bundle(idx))
File "/usr/local/lib/python2.7/dist-packages/qap/cli.py", line 446, in run_one_bundle
rt = run_workflow(wfargs)
File "/usr/local/lib/python2.7/dist-packages/qap/cli.py", line 879, in run_workflow
config, name)
File "/usr/local/lib/python2.7/dist-packages/qap/qap_workflows.py", line 419, in qap_anatomical_spatial_workflow
afni_segmentation_workflow(workflow, resource_pool, config, name)
File "/usr/local/lib/python2.7/dist-packages/qap/anatomical_preproc.py", line 570, in afni_segmentation_workflow
name)
File "/usr/local/lib/python2.7/dist-packages/qap/anatomical_preproc.py", line 199, in anatomical_skullstrip_workflow
anat_skullstrip = pe.Node(interface=preprocess.SkullStrip(),
File "/usr/local/lib/python2.7/dist-packages/nipype/interfaces/afni/preprocess.py", line 1475, in init
if not no_afni():
File "/usr/local/lib/python2.7/dist-packages/nipype/interfaces/afni/base.py", line 206, in no_afni
if Info.version() is None:
File "/usr/local/lib/python2.7/dist-packages/nipype/interfaces/afni/base.py", line 54, in version
currv = str(e).split('\n')[4].split('=', 1)[1].strip()
IndexError: list index out of range

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