diplomat.update_ui_state¶
- diplomat.update_ui_state(inputs: List[PathLike | str] | PathLike | str, outputs: None | List[PathLike | str] | PathLike | str = None, force: bool = False) None¶
Update diplomat state files (‘.dipui’ extension) from older versions of diplomat (all versions before 0.4.0) to the latest version of the format.
- Parameters:
inputs – A single path or list of paths to dipui files to update.
outputs – An optional single path or list of paths, the locations to write updated files to. If not specified, each updated file will be placed at same location as its input file with a ‘.dipui’ extension. If the old file has an extension of ‘.dipui’ already, ‘_updated’ is added to the filename.
force – If enabled diplomat won’t ask if before overwriting an output file it already exists…