File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -78,12 +78,12 @@ jobs:
7878
7979 - name : Run ${{ matrix.projects.name }} project
8080 run : |
81- python ${{ github.workspace }}/beta/test_run_sample.py ${{ matrix.projects.binary }} ${{ matrix.projects.config }} ${{ matrix.projects.max_time }}
81+ python ${{ github.workspace }}/beta/test_run_sample.py ${{ matrix.projects.binary }} ${{ github.workspace }}/${{ matrix.projects.cwd }}/${{ matrix.projects.config }} ${{ matrix.projects.max_time }}
8282 working-directory : ${{ matrix.projects.cwd }}
8383
8484 - name : Check ${{ matrix.projects.name }} project simulation results
8585 if : matrix.projects.validation_output_folder != ''
8686 run : |
87- python ${{ github.workspace }}/beta/test_diff_svg.py output tests/cases/${{ matrix.projects.validation_output_folder }}
87+ python ${{ github.workspace }}/beta/test_diff_svg.py output ${{ github.workspace }}/ tests/cases/${{ matrix.projects.validation_output_folder }}
8888 working-directory : ${{ matrix.projects.cwd }}
8989
Original file line number Diff line number Diff line change 1111 print ("e.g.: python test_diff_svg.py ~/blah1 ~/blah2" )
1212 exit (1 )
1313else :
14- dir1 = os . path . normpath ( sys .argv [1 ])
15- dir2 = os . path . normpath ( sys .argv [2 ])
14+ dir1 = sys .argv [1 ]
15+ dir2 = sys .argv [2 ]
1616
1717svg_files = glob .glob (f'{ dir1 } /snap*.svg' )
1818svg_files .sort ()
Original file line number Diff line number Diff line change @@ -32,8 +32,6 @@ def disable_automated_spring_adhesions(root):
3232def run_sample (myexec , xml_file , max_time ):
3333
3434 print ("\n \n ------------ " ,myexec , " ----------------------------------" )
35- # Normalize path to work cross-platform
36- xml_file = os .path .normpath (xml_file )
3735 # update max_time and omp_num_threads (=1)
3836 tree = ET .parse (xml_file )
3937 root = tree .getroot ()
You can’t perform that action at this time.
0 commit comments