sponce24 / aiida-abinit

Other
2 stars 4 forks source link

Parse output from the repository #8

Closed azadoks closed 3 years ago

azadoks commented 3 years ago

Previously, file paths pointing to locations on the remote were used in AbinitParser to parse outputs. This works when the remote is the local computer and those files are available, however when run on a true remote computer separate from where AiiDA is run, parsing would break.

This PR implements a (hacky) workaround for finding the retrieved file paths in the repository.

We do this because the underlying abipy parsers require file paths and do not accept file contents or file handles.