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 bug found when upgrading to support xnat 1.7 #339

Closed jimklo closed 5 years ago

jimklo commented 5 years ago

Fixed a bug that was discovered when testing XNAT 1.7 upgrade.

If the reviewed directory doesn't exist, check_new_sessions crashes and fails. This fix ensures the path exists to prevent the error from occurring.