PhysiCellModelManager.jl Upgrade
Functionality for upgrading the database to match the current version of PhysiCellModelManager.jl.
Public API
Private API
PhysiCellModelManager.pcmmVersionTableName
— MethodpcmmVersionTableName(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".
PhysiCellModelManager.populateTableOnFeatureSubset
— MethodpopulateTableOnFeatureSubset(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.
PhysiCellModelManager.upgradePCMM
— MethodupgradePCMM(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.
PhysiCellModelManager.upgradeToVX_Y_Z
— FunctionupgradeToX_Y_Z(auto_upgrade::Bool)
Upgrade the database to PhysiCellModelManager.jl version X.Y.Z. Each milestone version has its own upgrade function.