File tree Expand file tree Collapse file tree
.github/actions/collect_info Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ def s_get_para(language='matlab', max_para=500):
1212 cwd = os .getcwd ()
1313
1414 # Search and copy the file 'list_of_matlab_problems' to the path './list_of_parametric_problems.txt'
15- src_file = 'optiprofiler/problems/s2mpj/ src/ list_of_' + language + '_problems'
15+ src_file = os . path . join ( cwd , ' src' , ' list_of_' + language + '_problems' )
1616 dst_file = 'list_of_parametric_problems_' + language + '.txt'
1717 shutil .copy (src_file , dst_file )
1818
1919 # Path to the text file containing the list of names
2020 names_file_path = os .path .join (cwd , dst_file )
2121
2222 # Directory where the language files are located
23- language_files_folder = os .path .join (cwd , 'optiprofiler/problems/s2mpj/ src' , language + '_problems' )
23+ language_files_folder = os .path .join (cwd , 'src' , language + '_problems' )
2424
2525 # Output file
2626 output_file_path = os .path .join (cwd , 'list_of_parametric_problems_with_parameters_' + language + '.txt' )
You can’t perform that action at this time.
0 commit comments