File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,10 +49,10 @@ jobs:
4949 - name : Run maxflow demo (and install deps)
5050 run : |
5151 pip install SimpleITK pillow matplotlib
52+ cd ${{github.workspace}}/examples && python demo_maxflow.py 0
5253 cd ${{github.workspace}}/examples && python demo_maxflow.py 1
5354 cd ${{github.workspace}}/examples && python demo_maxflow.py 2
5455 cd ${{github.workspace}}/examples && python demo_maxflow.py 3
55- cd ${{github.workspace}}/examples && python demo_maxflow.py 4
5656
5757 # - name: Run densecrf demo
5858 # run: python ${{github.workspace}}/examples/demo_densecrf.py
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ def test_interactive_max_flow3d():
192192
193193 if len (sys .argv ) == 1 :
194194 raise ValueError ("Please, provide an argument." )
195-
195+
196196 method = sys .argv [1 ]
197197 if (method == '0' ):
198198 demo_maxflow ()
@@ -203,4 +203,4 @@ def test_interactive_max_flow3d():
203203 elif (method == '3' ):
204204 test_interactive_max_flow3d ()
205205 else :
206- raise ValueError ("Invalid number:" + method )
206+ raise ValueError ("Invalid number: " + method )
You can’t perform that action at this time.
0 commit comments