You were able to update to gmxapi 0.2 alpha okay? Note that the updated documentation is available at http://manual.gromacs.org/nightly/gmxapi/userguide/pythonreference.html
Can you please share an example script that you are having trouble with?
Also, check the erroroutput
result.
I think I gave you incomplete advice. I think you will need to add at least one “newline” to the stdin.
Try
cmd = commandline_operation(
‘gmx_mpi’,
arguments=[‘genion', '-neutral', 'yes', '-p’],
stdin='15\n')
cmd.run()
or
cmd = commandline_operation(
‘gmx_mpi’,
arguments=[‘genion', '-neutral', 'yes', '-p’],
stdin='15\n\n')
cmd.run()
and maybe
if cmd.output.returncode.result() != 0:
print(cmd.output.erroroutput.result())