CLI first steps¶
Summarize, filter, and convert a batch without writing a Python script.
Inspect commands¶
Help summary
Every data operation starts with molop parse PATTERN. PATTERN can be a path or a shell glob; add
repeatable --input PATH_OR_GLOB options when one command must cover several input groups.
Export a summary CSV¶
The default selects the final frame of each file. Add --frame all to export every frame.
For the bundled example:
Filter before exporting¶
Bash
molop -q parse "results/*.log" \
filter-state --state normal \
filter-state --state opt \
to-summary-df --full --out optimized.csv
Operations run from left to right. filter-state keeps a batch state, so another filter or one
terminal output operation can follow it.
Export final structures¶
Bash
mkdir -p structures
molop -q parse "results/*.out" \
filter-state --state normal \
format-transform --format xyz --output-dir structures
Providing --output-dir creates the directory and writes files. Use --no-write to preview output
in the terminal without writing files.
With water_mp2.out, the output directory contains: