Skip to content
Snippets Groups Projects
Commit 8d0cfe37 authored by buczekp's avatar buczekp
Browse files

fixed cifex data set info extractor to allow connection with an experiment but no parents

SVN: 12987
parent d85b87ec
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,8 @@ public class CifexDataSetInfoExtractor implements IDataSetInfoExtractor
new ExperimentIdentifierFactory(info.getExperiment()).createIdentifier();
dataSetInformation.setExperimentIdentifier(experimentIdentifier);
dataSetInformation.setGroupCode(experimentIdentifier.getGroupCode());
dataSetInformation.setParentDataSetCodes(Arrays.asList(info.getParents()));
String[] parents = info.getParents() != null ? info.getParents() : new String[0];
dataSetInformation.setParentDataSetCodes(Arrays.asList(parents));
}
dataSetInformation.setUploadingUserEmail(CifexExtratorHelper
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment