aces / Loris-MRI

The set of scripts that preprocess and insert MRI data into the database.
10 stars 50 forks source link

register_processed_data.pl does not find ProjectID #1102

Closed cmadjar closed 2 months ago

cmadjar commented 3 months ago

Description

When running register_processed_data.pl (via the defacing script), get the following error if a default project ID is not set in the config:

PSCID is: DCC292
 CandID id: 676061
 visit_label is: V1

ERROR: ProjectID cannot be initialized. Please set the default_project config.

However, since the data ingested is derived from other files within the same session, should add logic to the script to properly find the ProjectID based on the SessionID.