tik_manager4.dcc.mari.utils

Collection of utility functions for Mari.

These are essentially methods are both required by the main module and the ingest, extract and/or validate modules. To prevent circular imports, these methods are collected here.

Functions

get_project(uuid)

Get the project by uuid.

get_uuid(mri_backup_path)

get the UUID of the project we want to work on.

load(file_path[, force])

Load the working file (mri) or exract the archive (mra).

save_as(file_path)

Mimic the save as functionality for Mari.

Module Contents

get_project(uuid: str)

Get the project by uuid.

get_uuid(mri_backup_path)

get the UUID of the project we want to work on.

load(file_path, force=False)

Load the working file (mri) or exract the archive (mra).

save_as(file_path)

Mimic the save as functionality for Mari.