Skip to content

Commit 82d7572

Browse files
committed
Modify action collect info
1 parent ed5e7f8 commit 82d7572

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/actions/collect_info/s_get_para.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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')

0 commit comments

Comments
 (0)