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

SE-352 maintain the original plate barcode, remove the part after the dot only for Abase queries

SVN: 22112
parent d4f5f00e
No related branches found
No related tags found
No related merge requests found
......@@ -218,7 +218,7 @@ def parseIncomingDirname(dirName):
raise ValidationException("Data set directory name does not match the pattern '<ACQUISITION_BATCH_NAME>_<BAR_CODE>_<TIMESTAMP>': " + dirName)
acquisitionBatch = tokens[0]
plateCode = tokens[1].split('.')[0]
plateCode = tokens[1]
return (acquisitionBatch, plateCode)
......
......@@ -132,8 +132,9 @@ class PlateInitializer:
else:
query = self.ABASE_PRODUCTION_QUERY
plateCode = self.plateCode.split(".")[0]
queryService = self.state.getDataSourceQueryService()
queryResult = queryService.select(self.ABASE_DATA_SOURCE, query, [self.plateCode])
queryResult = queryService.select(self.ABASE_DATA_SOURCE, query, [plateCode])
sanofiMaterials = []
for resultMap in list(queryResult):
......
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