Expand description
Code for applying patches to model input files.
Structsยง
- File
Patch - Structure to hold patches for a model csv file.
- Model
Patch - Struct to hold a set of patches to apply to a base model.
Functionsยง
- merge_
model_ ๐toml - Merge a TOML patch into a base TOML string and return the merged TOML.
- modify_
base_ ๐with_ patch - Modify a string representation of a base CSV file by applying a
FilePatch. Preserves the order of rows from the base file, with new rows appended at the end.