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

'openfoam_wf_singularity' not found #474

Closed
xorJane opened this issue Apr 30, 2024 · 0 comments
Closed

'openfoam_wf_singularity' not found #474

xorJane opened this issue Apr 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@xorJane
Copy link
Member

xorJane commented Apr 30, 2024

Bug Report

Description
In #463, I introduced a bug such that merlin example openfoam_wf_singularity generates the error message "Example 'openfoam_wf_singularity' not found."

This occurs because of an unmet constraint on line 113 of merlin/examples/generator.py:

         if name == spec:

which requires that a workflow example named foo have an associated yaml file named foo.yaml. When I edited the tutorial in #463, I incorrectly named the yaml for openfoam_wf_singularity.

Behavior

$ merlin example openfoam_wf_singularity


       *
   *~~~~~
  *~~*~~~*      __  __           _ _
 /   ~~~~~     |  \/  |         | (_)
     ~~~~~     | \  / | ___ _ __| |_ _ __
    ~~~~~*     | |\/| |/ _ \ '__| | | '_ \
   *~~~~~~~    | |  | |  __/ |  | | | | | |
  ~~~~~~~~~~   |_|  |_|\___|_|  |_|_|_| |_|
 *~~~~~~~~~~~
   ~~~*~~~*    Machine Learning for HPC Workflows



[2024-04-29 18:02:54: ERROR] Example 'openfoam_wf_singularity' not found.

I'm about to submit a fix but wanted to document this. Apologies!

@xorJane xorJane added the bug Something isn't working label Apr 30, 2024
@xorJane xorJane closed this as completed Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant