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

minor: minimal flex example

SVN: 23462
parent acff0b6f
No related merge requests found
import os
from ch.systemsx.cisd.openbis.dss.etl.dto.api.v1 import ImageMetadata, SimpleImageDataConfig, Location
from ch.systemsx.cisd.openbis.plugin.screening.shared.api.v1.dto import Geometry
......@@ -21,7 +22,7 @@ class OperaFlexImageDataSet(SimpleImageDataConfig):
for image in imageIdentifiers:
token = ImageMetadata()
token.well = extractWellCode(imagePath)
token.well = self.extractWellCode(imagePath)
imageIndex = image.getTimeSeriesIndex()
token.tileNumber = self.flexHelper.getTileNumber(imageIndex)
token.channelCode = self.flexHelper.getChannelCode(imageIndex)
......@@ -86,3 +87,4 @@ if incoming.isDirectory():
dataSetRegistrationDetails = factory.createImageRegistrationDetails(imageDataset, incoming)
dataSet = tr.createNewDataSet(dataSetRegistrationDetails)
tr.moveFile(incoming.getAbsolutePath(), dataSet)
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