Skip to content

How to implement trjcat? #268

@sperezconesa

Description

@sperezconesa

Hello,

Suppose I want to feed to files to trjcat. I tried this but didn't work:

import gmxapi as gmx

a = gmx.commandline_operation(
    "gmx",
    arguments=["trjcat", "-nooverwrite"],
    input_files={"-f": ["s0/traj_comp.xtc", "s1/traj_comp.xtc"]},
    output_files={"-o": "cat.xtc"},
)
a.run()
print(a.output.erroroutput.result())

Is there a good solution?
Thank you very much!
Best,
Sergio

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions