Skip to content
Snippets Groups Projects
Commit 1385f354 authored by kaloyane's avatar kaloyane
Browse files

[LMS-2401] bugfix: swapped order of analysis protocol and assay in the name of AnalysisProcedure

SVN: 22257
parent 75e01f8b
No related branches found
No related tags found
No related merge requests found
......@@ -404,7 +404,7 @@ public class SanofiDropboxJythonTest extends AbstractJythonDataSetHandlerTest
NewExternalData analysisDataSet = dataSetsRegistered.get(2);
assertEquals(ANALYSIS_DATA_SET_CODE, analysisDataSet.getCode());
assertEquals(ANALYSIS_DATA_SET_TYPE, analysisDataSet.getDataSetType());
assertEquals("NRF2ProdAnalysis_1.1_MatlabGeneral_1.1",
assertEquals("MatlabGeneral_1.1_NRF2ProdAnalysis_1.1",
extractAnalysisProcedureCode(analysisDataSet));
......
......@@ -241,12 +241,12 @@ public class GEExplorerImageAnalysisResultParser extends DefaultHandler
public String getAnalysisProcedureName()
{
if (StringUtils.isEmpty(assayWithVersion))
if (StringUtils.isEmpty(analysisProtocolWithVersion))
{
return analysisProtocolWithVersion;
return assayWithVersion;
} else
{
return analysisProtocolWithVersion + "_" + assayWithVersion;
return assayWithVersion + "_" + analysisProtocolWithVersion;
}
}
......
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