Hi Jonathan,
Once you get the WorkChainNode you can use the ` .called_descendants` property to access a list of children following the CALL links.
You can iterate though it and find the `CalcJobNode` that are still running (those with `.is_finshed` being `False`).
Alternatively, if all of your CalcJobNodes are nested one level down, you can add another WorkChainNode then the CalcJobNode in the query, this is probably faster than above.
Best wishes,
Bonan
--
AiiDA is supported by the NCCR MARVEL (http://nccr-marvel.ch/),
funded by the Swiss National Science Foundation, and by the European H2020 MaX Centre of Excellence (http://www.max-centre.eu/).
Before posting your first question, please see the posting guidelines at
http://www.aiida.net/?page_id=356 .
---
You received this message because you are subscribed to the Google Groups "aiidausers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
aiidausers+...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/aiidausers/9dfbea1f-3510-4c86-8fed-eb7eae6cc1cdn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aiidausers/DB3PR0102MB3370BA2F72A0B51B96B4F3CEB9319%40DB3PR0102MB3370.eurprd01.prod.exchangelabs.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aiidausers/CAO8p0kX0HNaoZDLB%2Be5GwmvTw7od8bmgv9fjscxEXb_OjdUijw%40mail.gmail.com.