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

bug/nonstandard arm links #494

Closed gcyoung1 closed 2 years ago

gcyoung1 commented 2 years ago

Traceback (most recent call last): File "/sibis-software/ncanda-data-integration/scripts/import/laptops/update_visit_data", line 817, in visit = re.match('(baseline_visit)|(\dy_visit)|(\dmonth_followup)',event).group() AttributeError: 'NoneType' object has no attribute 'group'

Command: /sibis-software/ncanda-data-integration/scripts/import/laptops/update_visit_data -p -t /fs/ncanda-share/log/back-nightly --max-days-after-visit 120

This happens because the redcap form link util was assuming only standard arm events would ever be passed.