Skip to content

Commit

Permalink
Merge pull request #140 from genericworkflownodes/jpfeuffer-patch-1
Browse files Browse the repository at this point in the history
[Hotfix] Forgot NOT in Activity check
  • Loading branch information
jpfeuffer authored Sep 9, 2016
2 parents d75eb44 + 783fdf8 commit d6fb58a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ private void writeItem(String key, Parameter<?> p) throws IOException {
}
// If it is an optional outport, check activation
if (p.isOptional() && currentConfig.getOutputPortByName(key) != null) {
if (((FileParameter) p).getPort().isActive()) {
if (!((FileParameter) p).getPort().isActive()) {
//skip addition of inactive Ports. They should not have any meaningful filenames/values anyway.
return;
}
Expand Down

0 comments on commit d6fb58a

Please sign in to comment.