Skip to content

✨ aiida: PWD via @task and @graph - #222

Open
GeigerJ2 wants to merge 3 commits into
pythonworkflow:mainfrom
GeigerJ2:feature/aiida-core-graph-adapter
Open

GeigerJ2 wants to merge 3 commits into
pythonworkflow:mainfrom
GeigerJ2:feature/aiida-core-graph-adapter

Conversation

@GeigerJ2

@GeigerJ2 GeigerJ2 commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

Replace the workgraph adapter with generated @task/@graph source lowered to GraphIR; export GraphIR back to PWD. Static DAGs only. Pin aiida-core to current main.

GeigerJ2 and others added 3 commits November 6, 2026 10:16
Replace the workgraph adapter with generated
@task/@graph source lowered to GraphIR; export
GraphIR back to PWD. Static DAGs only.
Pin aiida-core to main.
hatch metadata rejects the aiida-core git pin otherwise.
Every CI job pip-installs the package and failed on it.
@jan-janssen

Copy link
Copy Markdown
Member

@GeigerJ2 I fixed the pip installation, by adding it to the conda environment.

There are still parts in the notebooks which need to be updated:

Traceback (most recent call last):
  File "/home/runner/miniconda3/envs/test/bin/papermill", line 10, in <module>
    sys.exit(papermill())
             ^^^^^^^^^^^
  File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/click/core.py", line 1161, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/click/core.py", line 1082, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/click/core.py", line 1443, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/click/core.py", line 788, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context(), *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/papermill/cli.py", line 235, in papermill
    execute_notebook(
  File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/papermill/execute.py", line 131, in execute_notebook
    raise_for_execution_errors(nb, output_path)
  File "/home/runner/miniconda3/envs/test/lib/python3.12/site-packages/papermill/execute.py", line 251, in raise_for_execution_errors
    raise error
papermill.exceptions.PapermillExecutionError: 
---------------------------------------------------------------------------
Exception encountered at "In [9]":
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[9], line 1
----> 1 wg.run()
AttributeError: 'GraphHandle' object has no attribute 'run'

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants