sibis-platform / ncanda-data-integration

This is the Data Integration, MRI, and Bioinformatics Component of the National Consortium on Alcohol and NeuroDevelopment in Adolescence (NCANDA), funded by the NIAAA.
https://www.nitrc.org/projects/ncanda-datacore
BSD 3-Clause "New" or "Revised" License
4 stars 10 forks source link

500 typeerror bad operand type for abs str #501

Closed gcyoung1 closed 2 years ago

gcyoung1 commented 2 years ago

I added urls to a tuple, but then didn't change the indexing into that tuple in other parts of the code. Should be fixed now:

ncanda@pipeline-back[pipeline_back_1]:/sibis-software/ncanda-data-integration/scripts/reporting (master)$ /fs/ncanda-share/beta/griffin/ncanda-data-integration/scripts/redcap/import_mr_sessions --pipeline-root-dir /fs/ncanda-share/cases --run-pipeline-script /fs/ncanda-share/scripts/bin/ncanda_all_pipelines -f --study-id C-70183-F-1 -v
Namespace(event=None, force_update=True, force_update_stroop=False, max_days_after_visit=120, missing_only=False, no_stroop=False, no_upload=False, pipeline_root_dir='/fs/ncanda-share/cases', post_to_github=False, run_pipeline_script='/fs/ncanda-share/scripts/bin/ncanda_all_pipelines', site=None, study_id='C-70183-F-1', time_log_dir=None, verbose=True)
Checking 10 REDCap records.
1 Processing ('C-70183-F-1', 'baseline_visit_arm_1')
Checking C-70183-F-1 for baseline_visit_arm_1 with visit date 2014-06-08 to 2014-10-06
XNAT Session Data: [('NCANDA_E02125', '<duke_incoming>', '2014-06-20')]
C-70183-F-1 / NCANDA_S00888 / baseline_visit_arm_1 to /fs/ncanda-share/cases/NCANDA_S00888/standard/baseline
2 Processing ('C-70183-F-1', '1y_visit_arm_1')
Checking C-70183-F-1 for 1y_visit_arm_1 with visit date 2015-06-20 to 2015-10-18
XNAT Session Data: [('NCANDA_E04251', '<duke_incoming>', '2015-06-22')]
check_for_stroop: ['NCANDA_E04251']
check_for_stroop: no stroop
C-70183-F-1 / NCANDA_S00888 / 1y_visit_arm_1 to /fs/ncanda-share/cases/NCANDA_S00888/standard/followup_1y

...etc