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

Fix scan note access #509

Closed annehaley closed 1 year ago

annehaley commented 1 year ago

An if statement had been checking for the wrong thing before accessing scan_note as a key on that row. I assume that a test with a decision and a scan note was passing, but a test with a decision and no scan note got a key error.