PhysiCellModelManager.jl Upgrade

Functionality for upgrading the database to match the current version of PhysiCellModelManager.jl.

Public API

Private API

PhysiCellModelManager.pcmmVersionTableNameMethod
pcmmVersionTableName(version::VersionNumber)

Returns the name of the version table based on the given version number. Before version 0.0.30, the table name is "pcvctversion". Version 0.0.30 and later use "pcmmversion".

source
PhysiCellModelManager.populateTableOnFeatureSubsetMethod
populateTableOnFeatureSubset(db::SQLite.DB, source_table::String, target_table::String; column_mapping::Dict{String, String}=Dict{String,String}())

Populate a target table with data from a source table, using a column mapping if provided.

source
PhysiCellModelManager.upgradePCMMMethod
upgradePCMM(from_version::VersionNumber, to_version::VersionNumber, auto_upgrade::Bool)

Upgrade the PhysiCellModelManager.jl database from one version to another.

The upgrade process is done in steps, where each step corresponds to a milestone version. The function will apply all necessary upgrades until the target version is reached. If auto_upgrade is true, the function will automatically apply all upgrades without prompting. Otherwise, it will prompt the user for confirmation before large upgrades.

source