File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
ui/src/main/resources/edu/wpi/grip/ui/codegeneration/python Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -20,24 +20,26 @@ class $className:
2020#foreach($input in $step.getInputs())
2121#if (!$input.value().matches("source[0-9]+"))
2222 #newInput($input)
23- #end
24-
25- #end
2623
27- #foreach($output in $step.getOutputs() )
28- #output($output) = None
24+ #end#end#if ($step.name() == "New_Kernel" || $step.name() == "New_Point" || $step.name() == "New_Size" )
25+ #parse("$vmLoc/step.vm")
2926
27+ #else #foreach($output in $step.getOutputs())
28+ #output($output) = None
3029#end
30+ #end
31+
3132#end
3233
3334 def process(self#foreach($source in $pipeline.getSources()), $source.value()#end):
3435 """
3536 Runs the pipeline and sets all outputs to new values.
3637 """
3738#foreach($step in $pipeline.getSteps())
38- #parse("$vmLoc/ step.vm ")
39-
39+ #if ($step.name() != "New_Kernel" && $ step.name() != "New_Point" && $step.name() != "New_Size ")
40+ #parse("$vmLoc/step.vm")
4041
42+ #end
4143#end
4244#foreach($step in $pipeline.getSteps())
4345#if($step.name() == "Switch" || $step.name() == "Valve")
You can’t perform that action at this time.
0 commit comments