Commit c03da5b9 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Merge branch 'fix-spelling-errors_2016-jan' into 'develop'

Fix spelling error in the WriteDependencies JSON output

Fix the output keys for the JSON output of `writedependencies`.

See merge request !305
parents edbabec1 bfc93ed3
...@@ -80,7 +80,7 @@ object WriteDependencies extends Logging with Configurable { ...@@ -80,7 +80,7 @@ object WriteDependencies extends Logging with Configurable {
"intermediate" -> isIntermediate, "intermediate" -> isIntermediate,
"output_jobs" -> outputJobNames, "output_jobs" -> outputJobNames,
"input_jobs" -> inputJobNames, "input_jobs" -> inputJobNames,
"exist_at_start" -> fileExist, "exists_at_start" -> fileExist,
"pipeline_input" -> outputJobs.isEmpty "pipeline_input" -> outputJobs.isEmpty
) )
} }
...@@ -114,9 +114,9 @@ object WriteDependencies extends Logging with Configurable { ...@@ -114,9 +114,9 @@ object WriteDependencies extends Logging with Configurable {
case cmd: CommandLineFunction => cmd.commandLine case cmd: CommandLineFunction => cmd.commandLine
case _ => None case _ => None
}), "intermediate" -> f.isIntermediate, }), "intermediate" -> f.isIntermediate,
"depens_on_intermediate" -> f.inputs.exists(files(_).isIntermediate), "depends_on_intermediate" -> f.inputs.exists(files(_).isIntermediate),
"depens_on_jobs" -> f.inputs.toList.flatMap(files(_).outputJobNames).distinct, "depends_on_jobs" -> f.inputs.toList.flatMap(files(_).outputJobNames).distinct,
"ouput_used_by_jobs" -> outputFiles(f).toList.flatMap(files(_).inputJobNames).distinct, "output_used_by_jobs" -> outputFiles(f).toList.flatMap(files(_).inputJobNames).distinct,
"outputs" -> outputFiles(f).toList, "outputs" -> outputFiles(f).toList,
"inputs" -> f.inputs.toList, "inputs" -> f.inputs.toList,
"done_at_start" -> f.isDone, "done_at_start" -> f.isDone,
......
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