sphuber / aiida-shell

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

`ShellJob`: Automatically serialize string for `arguments` #60

Closed sphuber closed 9 months ago

sphuber commented 9 months ago

The arguments input requires a List. It defined the to_aiida_type serializer to automatically convert plain lists. Here, the serializer is updated to also accept a string, which is automatically converted to a list using shlex.split. This brings the interface to par with that of the launch_shell_job function.