Skip to content

Assertion error in MatFlow demo workflow sample_orientations_CTF_file #764

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
gcapes opened this issue Apr 1, 2025 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@gcapes
Copy link
Collaborator

gcapes commented Apr 1, 2025

This happens on CSF3 and on my laptop, using MatFlow, version 0.3.0a145, hpcFlow, version 0.2.0a205. It previously didn't using older versions.

Traceback (most recent call last):
  File "/net/scratch2/mbexegc2/test-demo-workflows-latesthpcmatflow/.venv/lib/python3.12/site-packages/hpcflow/sdk/core/utils.py", line 1178, in redirect_std_to_file
    yield
  File "/net/scratch2/mbexegc2/test-demo-workflows-latesthpcmatflow/.venv/lib/python3.12/site-packages/hpcflow/sdk/core/workflow.py", line 3917, in execute_run
    run.write_script_input_files(block_act_key)
  File "/net/scratch2/mbexegc2/test-demo-workflows-latesthpcmatflow/.venv/lib/python3.12/site-packages/hpcflow/sdk/core/actions.py", line 957, in write_script_input_files
    writer(self, in_vals, block_act_key)
  File "/net/scratch2/mbexegc2/test-demo-workflows-latesthpcmatflow/.venv/lib/python3.12/site-packages/hpcflow/sdk/core/actions.py", line 989, in __write_hdf5_inputs
    assert isinstance(v, ParameterValue)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
@aplowman
Copy link
Contributor

aplowman commented Apr 6, 2025

I have fixed a logical error that would result in the same AssertionError as you see here, in #767. However, in the case of sample_orientations_CTF_file, I don't think that the fix is going to help, because it doesn't involve any element groups. So my guess would be that the input parameter value (v in the exception message) is None because of a previous error. Can you check for other errors in the app_std, js_std, and execute directories?

@gcapes
Copy link
Collaborator Author

gcapes commented Apr 7, 2025

[�Warning: Name is nonexistent or not a directory:
/home/mbexegc2/Downloads/temp/sample_orientations_CTF_file_2025-02-19_110610/execute/task_0_sample_orientations_from_CTF_file_mtex/e_0/r_0]� 

and indeed the execute directory is empty.

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
Status: 🔲 Todo
Development

No branches or pull requests

2 participants