File tree 1 file changed +9
-7
lines changed
ui/src/main/resources/edu/wpi/grip/ui/codegeneration/python
1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -20,24 +20,26 @@ class $className:
20
20
#foreach($input in $step.getInputs())
21
21
#if (!$input.value().matches("source[0-9]+"))
22
22
#newInput($input)
23
- #end
24
-
25
- #end
26
23
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")
29
26
27
+ #else #foreach($output in $step.getOutputs())
28
+ #output($output) = None
30
29
#end
30
+ #end
31
+
31
32
#end
32
33
33
34
def process(self#foreach($source in $pipeline.getSources()), $source.value()#end):
34
35
"""
35
36
Runs the pipeline and sets all outputs to new values.
36
37
"""
37
38
#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")
40
41
42
+ #end
41
43
#end
42
44
#foreach($step in $pipeline.getSteps())
43
45
#if($step.name() == "Switch" || $step.name() == "Valve")
You can’t perform that action at this time.
0 commit comments