Skip to content

Add functionality for including environment variables as metadata #771

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

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

kzscisoft
Copy link
Collaborator

Environment Variables as Metadata

Issue: #726

Python Version(s) Tested: 3.13

Operating System(s): Ubuntu 24.10

Documentation PR: N/A

📝 Summary

Allows users to specify through globular expressions within their config file or in run.init(...) any environment variables to store as metadata.

🔄 Changes

  • Modifications to the run component of the user configuration, adding the option record_shell_vars, a set of globular expressions or None.
  • Modification to Run.init method to have parameter record_shell_vars.

✔️ Checklist

  • Unit and integration tests passing.
  • Pre-commit hooks passing.
  • Quality checks passing.
  • Updated the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatically include SLURM_* environment variables in metadata
1 participant