aiidalab / aiidalab-widgets-base

Reusable widgets for AiiDAlab applications
MIT License
7 stars 17 forks source link

Register WorkChainNode viewer for calcfunctions and workfunctions as well #348

Closed danielhollas closed 2 years ago

danielhollas commented 2 years ago

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: image

After: image

danielhollas commented 2 years ago

@yakutovicha one more tiny PR for you. :blush: I've modified the notebooks/aiida_datatypes_viewers.ipynb notebook for easier local testing.

danielhollas commented 2 years ago

Thanks @yakutovicha! It would be great if you could cut a new release. ☺️

yakutovicha commented 2 years ago

Thanks @yakutovicha! It would be great if you could cut a new release. ☺️

done!