aiidateam / aiida-quantumespresso

The official AiiDA plugin for Quantum ESPRESSO
https://aiida-quantumespresso.readthedocs.io
Other
53 stars 78 forks source link

`PpCalculation`: Allow `PLOT.output_format` to be specified #983

Open sphuber opened 10 months ago

sphuber commented 10 months ago

Currently it is blocked as it is automatically set by the plugin. However, it makes sense that the user may want another format, so why block them from overriding a default set by the plugin?

The limitation was probably added because then the PpParser can expect a consistent .cube format and parse the content. But I think we can just add an exception in the parser and if the file is not in an expected format, we don't parse it at all, but at most just attach as a SinglefileData node.

mbercx commented 10 months ago

I think @ramirezfranciscof also ran into this limitation, or something similar? Could be related to https://github.com/aiidateam/aiida-quantumespresso/pull/656, but I still have to look at the specifics.