Skip to content
Snippets Groups Projects
Commit 04bb5ecb authored by tpylak's avatar tpylak
Browse files

LMS-2355 fix unit test

SVN: 22195
parent 3a8d5248
No related branches found
No related tags found
No related merge requests found
...@@ -953,6 +953,8 @@ public class WellContentLoader extends AbstractContentLoader ...@@ -953,6 +953,8 @@ public class WellContentLoader extends AbstractContentLoader
private static WellContent convert(WellContentQueryResult well) private static WellContent convert(WellContentQueryResult well)
{ {
WellLocation wellLocation =
ScreeningUtils.tryCreateLocationFromMatrixCoordinate(well.well_code);
EntityReference wellReference = EntityReference wellReference =
new EntityReference(well.well_id, well.well_code, well.well_type_code, new EntityReference(well.well_id, well.well_code, well.well_type_code,
EntityKind.SAMPLE, well.well_perm_id); EntityKind.SAMPLE, well.well_perm_id);
...@@ -960,7 +962,6 @@ public class WellContentLoader extends AbstractContentLoader ...@@ -960,7 +962,6 @@ public class WellContentLoader extends AbstractContentLoader
new EntityReference(well.plate_id, well.plate_code, well.plate_type_code, new EntityReference(well.plate_id, well.plate_code, well.plate_type_code,
EntityKind.SAMPLE, well.getPlatePermId()); EntityKind.SAMPLE, well.getPlatePermId());
WellLocation wellLocation = well.getWellReference().getWellLocation();
return new WellContent(wellLocation, wellReference, plate, convertExperiment(well)); return new WellContent(wellLocation, wellReference, plate, convertExperiment(well));
} }
......
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