aces / Loris-MRI

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

[minc_to_bids_converter.pl] Error creating authors in dataset description #979

Closed zaliqarosli closed 1 year ago

zaliqarosli commented 1 year ago

If 1 author is configured, get error /dataset_description.json Evidence: .Authors should be array. If 2 authors configured, get the same error and the dataset description gets weird:

{
   "Cecile Madjar" : "HowToAcknowledge",
   "BIDSVersion" : "1.1.1 & BEP0001",
   "Cecile Madjar, MCIN" : "LORISReleaseVersion",
   "Name" : "BIDS_LORIS25_test_2",
   "24.1.10" : null,
   "Authors" : "Zaliqa Rosli",
   "LORISScriptVersion" : "0.2"
}

supposed to look like this

{
   "Name" : "BIDS_LORIS25_test",
   "HowToAcknowledge" : "Cecile Madjar, MCIN",
   "LORISReleaseVersion" : "24.1.10",
   "Authors" : "Zaliqa Rosli",
   "BIDSVersion" : "1.1.1 & BEP0001",
   "LORISScriptVersion" : "0.2"
}
cmadjar commented 1 year ago

LOL, I am becoming a BIDS dataset description JSON header? Love it!