The Virtual Brain Project

Table Of Contents

Previous topic

portlets Package

Next topic

project_update_scripts Package

This Page

project_versions Package

This package contains update scripts for covering Project updates.

E.G. changing the structure of the project which requires reorganizing existing project files.

project_update_manager

Main controller for the updates related to the Project entity.

class tvb.core.project_versions.project_update_manager.ProjectUpdateManager(project_path)[source]

Bases: tvb.core.code_versions.base_classes.UpdateManager

This goes through all the scripts that are newer than the version number written in the current project metadata xml, and executes them on the project folder.

run_all_updates()[source]

Upgrade the project to the latest structure Go through all update scripts, from project version up to the current_version in the code