-
Notifications
You must be signed in to change notification settings - Fork 17
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
Register WorkChainNode viewer for calcfunctions and workfunctions as well #348
Register WorkChainNode viewer for calcfunctions and workfunctions as well #348
Conversation
Reusing an existing viewer for WorkChainNode that prints the output of `verdi process report` command, introduced in aiidalab#335.
720bf49
to
3d298d9
Compare
@yakutovicha one more tiny PR for you. 😊 I've modified the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @danielhollas. A couple of suggestions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @danielhollas. A few more suggestions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot, @danielhollas!
Thanks @yakutovicha! It would be great if you could cut a new release. |
done! |
…Workchain (aiidalab#348) fixes aiidalab#344 The register_viewer_widget decorator registers the viewer by class and the new viewer for QeAppWorkchain specifically also become the viewer of other WorkChain. It will raise the KeyError and raised which is not expected. Instead of raising the exception, nothing is returned. This is a workaround since ideally if there is no new specific viewer defined for a specific work chain, it needs to fall back to the native one of AWB. As tried in aiidalab#430
In #335 I've implemented a simple workchain viewer that prints the output of
verdi process report
command. I didn't realize that the same viewer will work for calcfunctions and workfunctions as well. Note that calcjobs have their own viewer that follows the output file.Before:
After: