Some changes to OdmToFilesConverter
Description: some check and more logging have been added. Separate files are created for different locations ("studies"); many files remain empty when converting "split_odm_aa.xml".
Details:
- Check whether a file exporter exists for the study name before closing it in the closeExportWriters method (and added logging).
- Added the metaDataStudy variable instead of replacing study by definingStudy in the saveStudy method. This variable is passed on through the metaDataStudy parameters.
- The metaDataStudy parameter is used for the study name and code list in the saveItem method (and added logging).
- Only create a new file exporter if it does not exist for the study name in the saveStudy method (and added logging).
- Removed unnecessary check in the saveItemData method.