sphuber / aiida-shell

AiiDA plugin that makes running shell commands easy.
MIT License
14 stars 7 forks source link

`ShellCalculation`: Resolve escaped curly braces in arguments #102

Closed sphuber closed 2 months ago

sphuber commented 2 months ago

Fixes #101

Any argument that did not contain a placeholder would simply be appended as is, but this would cause escaped curly braces not to be resolved. The solution is to just call argument.format() in this case, letting the string formatter take care of resolving the escaped characters.

bilke commented 2 months ago

Thanks a lot for the fix! It works!