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

Provide users with useful metadata while workflow is running #106

Closed
GeigerJ2 opened this issue Jan 22, 2025 · 2 comments
Closed

Provide users with useful metadata while workflow is running #106

GeigerJ2 opened this issue Jan 22, 2025 · 2 comments
Labels
enhancement New feature or request feature
Milestone

Comments

@GeigerJ2
Copy link
Collaborator

This could be, for one, a metadata file in the run directory, containing the date, and current parameter set, etc., similar to the file that is created on verdi process dump. In addition to what the WG GUI already provides.

@GeigerJ2 GeigerJ2 added the enhancement New feature or request label Jan 22, 2025
@leclairm
Copy link
Contributor

leclairm commented Jan 23, 2025

Ideally, scripts ran in shell tasks should have access to the following:

  • self:
    • begin date
    • end date
    • parameters
  • inputs:
    • path
    • port
    • begin date
    • end date
    • parameters

For python scripts one solution is to dump a yaml file in the task working directory containing this information. It would be easy to document how to parse it. That would be the advised solution if all the above info is required.

For shell scripts, parsing a yaml file would be more difficult but port and path are already available through the command line. We could just add 2 environment variables for the task begin and end dates.

@leclairm leclairm added this to the Early users milestone Jan 23, 2025
@leclairm
Copy link
Contributor

Closing as duplicate of #61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature
Projects
None yet
Development

No branches or pull requests

2 participants