Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .util.slum and CLI #291

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Add .util.slum and CLI #291

wants to merge 2 commits into from

Conversation

khaeru
Copy link
Member

@khaeru khaeru commented Feb 5, 2025

This PR adds a mix-models sbatch CLI command that simplifies usage with SLURM, for instance on UnICC.

Closes #284.

How to review

  • Read the added documentation via the preview build.
  • Check out the branch on UnICC
  • Run a command like mix-models sbatch -- config show.

More TBA

PR checklist

  • Continuous integration checks all ✅
  • Add or expand tests; coverage checks both ✅
  • Add, expand, or update documentation.
  • Update doc/whatsnew.

@khaeru khaeru self-assigned this Feb 5, 2025
Copy link

codecov bot commented Feb 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.0%. Comparing base (b920f59) to head (5385d66).
Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #291   +/-   ##
=====================================
  Coverage   77.0%   77.0%           
=====================================
  Files        213     213           
  Lines      16512   16512           
=====================================
  Hits       12724   12724           
  Misses      3788    3788           
Files with missing lines Coverage Δ
message_ix_models/cli.py 93.4% <ø> (ø)

@khaeru khaeru added the enh New features or functionality label Feb 5, 2025
- Expand module docstring.
- Add to doc/api/util.rst
- Add to doc/whatsnew.rst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enh New features or functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add .util.slurm and CLI
1 participant