Skip to content
Snippets Groups Projects
Commit c6634af2 authored by jakubs's avatar jakubs
Browse files

SP-146 BIS-102 make experiments and materials mutable

SVN: 26296
parent 820f52d9
No related merge requests found
......@@ -93,7 +93,8 @@ public class ImagingDataSetRegistrationTransactionV2Delegate implements
{
try
{
featureDefinitions = CsvFeatureVectorParser.parse(featureVectorFileOrNull, properties);
featureDefinitions =
CsvFeatureVectorParser.parse(featureVectorFileOrNull, properties);
} catch (IOException ex)
{
throw CheckedExceptionTunnel.wrapIfNecessary(ex);
......@@ -180,6 +181,12 @@ public class ImagingDataSetRegistrationTransactionV2Delegate implements
return transaction.getExperimentForUpdate(experimentIdentifierString);
}
@Override
public IExperimentUpdatable makeExperimentMutable(IExperimentImmutable experiment)
{
return transaction.makeExperimentMutable(experiment);
}
@Override
public IExperiment createNewExperiment(String experimentIdentifierString,
String experimentTypeCode)
......@@ -223,6 +230,12 @@ public class ImagingDataSetRegistrationTransactionV2Delegate implements
return transaction.getMaterialForUpdate(materialCode, materialType);
}
@Override
public IMaterial makeMaterialMutable(IMaterialImmutable material)
{
return transaction.makeMaterialMutable(material);
}
@Override
public IMaterial createNewMaterial(String materialCode, String materialType)
{
......
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