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

[LMS-1191] fixed cifex extractor

SVN: 12865
parent bda27868
No related branches found
No related tags found
No related merge requests found
......@@ -79,6 +79,7 @@ public class CifexDataSetInfoExtractor implements IDataSetInfoExtractor
{
ExperimentIdentifier experimentIdentifier =
new ExperimentIdentifierFactory(info.getExperiment()).createIdentifier();
dataSetInformation.setExperimentIdentifier(experimentIdentifier);
dataSetInformation.setGroupCode(experimentIdentifier.getGroupCode());
dataSetInformation.setParentDataSetCodes(Arrays.asList(info.getParents()));
}
......
......@@ -168,6 +168,8 @@ public class DataSetInformation implements Serializable
* Returns the basic information about the experiment.
*/
// TODO 2009-09-18 Tomasz Pylak: change to getExperiment()
// But it can be null when we use e.g. CifexDataSetInfoExtractor - only identifier is set.
// This bean is too complex and can be easily misused...
public Experiment tryToGetExperiment()
{
return experiment == null ? (sample == null ? null : sample.getExperiment()) : experiment;
......
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