sgn
sgn copied to clipboard
Multi-Trial Upload: fails with location codes
Expected Behavior
This earlier PR added the ability to use the location abbreviation/code instead of the full name for the location in the multi-trial upload.
The upload now silently fails (says the trials were added successfully but are not added to the database) if one or more trials use the location abbreviation/code in the location column. The upload plugin correctly validates the location code, but the additional location check in the upload_multiple_trial_design.pl
script fails.
It might be a good idea to remove the location check in the perl script, since it's already being done by the plugin validation.