Skip to content

Commit

Permalink
Add README file for results importer utility
Browse files Browse the repository at this point in the history
  • Loading branch information
edan-bainglass committed Oct 27, 2023
1 parent e66d16f commit a2c90aa
Show file tree
Hide file tree
Showing 2 changed files with 177 additions and 0 deletions.
11 changes: 11 additions & 0 deletions utils/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Results Importer

This utility can be used to import into AiiDA results obtained by means other than the AiiDA-Aurora workflow.

For example, when results are obtained from EC-lab, `.mpr` files can be converted into `.json` files resembling those produced by `tomato`. This utility will import such files as AiiDA `ArrayData` and recreate the (limited) provenance graph (below) in a near-identical way to that which would have been produced if the calculation was executed via AiiDA.

The logic is contained in `results_importer.py`. A notebook is provided as a convenient template to get started.

### `verdi node graph generate --identifier pk -f svg -e circo <WorkChain-pk>`

<img src="./graph.svg" alt="AiiDA provenance graph replicated from imported results" width="900" height="600" />
166 changes: 166 additions & 0 deletions utils/graph.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a2c90aa

Please sign in to comment.