Skip to content
Snippets Groups Projects
Commit de6c7eae authored by jakubs's avatar jakubs
Browse files

LMS-2806: add the test to dssComponentTest

SVN: 24514
parent e48805e9
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,6 @@ transaction = service.transaction(incoming)
dataSet = transaction.createNewDataSet()
exp = dataSet.getExperiment()
samp = dataSet.getSample()
if exp is None and samp is None:
raise IllegalArgumentException("No Experiment or Sample specified")
if exp is None or 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