Skip to content
Snippets Groups Projects
Commit d0ac68d5 authored by felmer's avatar felmer
Browse files

SSDM-12929: show also data sets belonging directly to samples of type MICROSCOPY_EXPERIMENT

parent 3c1b0401
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
......@@ -10,6 +10,8 @@ acceptor.hideDataSetType("MICROSCOPY_IMG_THUMBNAIL")
def addSampleChildNodes(path, samplePermId, sampleType, response, acceptor, context):
dataSetSearchCriteria = DataSetSearchCriteria()
dataSetSearchCriteria.withOrOperator()
dataSetSearchCriteria.withSample().withPermId().thatEquals(samplePermId)
parentsSearchCriteria = dataSetSearchCriteria.withSample().withParents()
parentsSearchCriteria.withPermId().thatEquals(samplePermId)
fetchOptions = DataSetFetchOptions()
......
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