scvelo.tl.VELOVI.convert_legacy_save

classmethod VELOVI.convert_legacy_save(dir_path, output_dir_path, overwrite=False, prefix=None)

Converts a legacy saved model (<v0.15.0) to the updated save format.

Parameters
dir_path : str

Path to directory where legacy model is saved.

output_dir_path : str

Path to save converted save files.

overwrite : bool

Overwrite existing data or not. If False and directory already exists at output_dir_path, error will be raised.

prefix : str, None

Prefix of saved file names.

Return type

None