Commit 55e97aec authored by Jens Korinth's avatar Jens Korinth
Browse files

Stop cleaning after erroneous runs

parent 7e36ed16
......@@ -69,8 +69,10 @@ class ComposeTask(composition: Composition,
_composerResult flatMap (_.power map (_.file)) getOrElse ""))
composer.clean(composition, target, designFrequency)
(_composerResult map (_.result) getOrElse false) == ComposeResult.Success
val result = (_composerResult map (_.result) getOrElse false) == ComposeResult.Success
if (result)
composer.clean(composition, target, designFrequency)
private def slurmExecution: Boolean = {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment