Skip to content

Commit 29918b3

Browse files
authored
Move monitor files to proper location (#3024)
## Proposed Changes *Give a brief overview of your contribution here in a few sentences.* Move monitor files to their proper locations. ## Related Work *Resolve any issues (bug fix or feature request), note any related PRs, or mention interactions with the work of others, if any.* ## PR Checklist *Put an X by all that apply. You can fill this out after submitting the PR. If you have any questions, don't hesitate to ask! We want to help. These are a guide for you to know what the reviewers will be looking for in your contribution.* - [x] I am submitting my contribution to the develop branch. - [ ] My contribution generates no new compiler warnings (try with --warnlevel=3 when using meson). - [ ] My contribution is commented and consistent with SU2 style (https://su2code.github.io/docs_v7/Style-Guide/). - [ ] I used the pre-commit hook to prevent dirty commits and used `pre-commit run --all` to format old commits. - [ ] I have added a test case that demonstrates my contribution, if necessary. - [ ] I have updated appropriate documentation (Tutorials, Docs Page, config_template.cpp), if necessary.
1 parent f9069e7 commit 29918b3

5 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/python-tests.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Python Tests
22
on:
33
pull_request:
44
paths:
5-
- "bin/monitor.py"
5+
- "SU2_PY/monitor.py"
66
- "SU2_PY/tests/**"
77
- ".github/workflows/python-tests.yml"
88

File renamed without changes.

‎SU2_PY/meson.build‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ install_data(['SU2_Nastran/__init__.py',
7575

7676
install_subdir(['../externals/FADO'], install_dir: get_option('bindir'))
7777

78-
install_data(['../bin/monitor.py'],
78+
install_data(['monitor.py'],
7979
install_dir: join_paths(get_option('bindir')))
8080

81-
install_data(['../bin/SU2_MON'],
81+
install_data(['SU2_MON'],
8282
install_dir: join_paths(get_option('bindir')),
8383
install_mode: 'rwxr-xr-x')
File renamed without changes.

‎SU2_PY/tests/test_monitor.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
):
1919
sys.modules.setdefault(module, unittest.mock.MagicMock())
2020

21-
MODULE_PATH = Path(__file__).parents[2] / "bin" / "monitor.py"
21+
MODULE_PATH = Path(__file__).parents[1] / "monitor.py"
2222
SPEC = importlib.util.spec_from_file_location("su2_monitor", MODULE_PATH)
2323
MONITOR = importlib.util.module_from_spec(SPEC)
2424
SPEC.loader.exec_module(MONITOR)

0 commit comments

Comments
 (0)