Add standalone script to retrieve HPC cluster name#93
Conversation
- Extended get_hpcname() to detect helix via hostname when ClusterName is not set - Added new CLI entry point: `get_hpcname` script in pyproject.toml - Created new module: src/ccbr_tools/get_hpcname.py to support CLI access - fix #92
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #93 +/- ##
==========================================
- Coverage 75.26% 75.26% -0.01%
==========================================
Files 25 25
Lines 1779 1787 +8
==========================================
+ Hits 1339 1345 +6
- Misses 440 442 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
kelly-sovacool
left a comment
There was a problem hiding this comment.
Could you add a simple unit test to cover this new feature? See tests/test_pipeline_hpc.py for inspiration.
|
(p.s. if you do |
Done! |
Will try to use this next time. |
…t` output Improve `parse_modules` to handle redirected module entries like `snakemake/7 -> snakemake/7.32.4`, ensuring the resolved version (`7.32.4`) is captured instead of the short name (`7`). This allows accurate detection of loaded module versions. Fixes #94
|
Now this also fixes #94 |
module listoutputissues