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

SSDM-5101: Bug in data-set-handler.py test core plugin fixed

SVN: 38412
parent 35001dd5
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,6 @@ sa.setPropertyValue('DYNAMIC_DESCRIPTION', 'description')
dataSet = transaction.createNewDataSet()
exp = dataSet.getExperiment()
samp = dataSet.getSample()
if exp is None or samp is None:
if exp is None and samp is None:
raise IllegalArgumentException("data-set-handler.py: No Experiment or Sample specified")
transaction.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