code_update_scripts Package

The convention for adding a new update script is to just add a file starting with the svn revision number at which the script was added, followed by ‘_update_code.py’.

The update script should have a module level function ‘def update()’ that does the actual updates.

4455_update_code

tvb.core.code_versions.code_update_scripts.4455_update_code.update()[source]

Update TVB code to SVN revision version 4455. This update was done for release 1.0.2.

4750_update_code

tvb.core.code_versions.code_update_scripts.4750_update_code.update()[source]

Update TVB code to SVN revision version 4770. This update was done for release 1.0.5

5454_update_code

Change Project structure for TVB version 1.1.1. In this version the location where ResultFigures are stored has changed.

tvb.core.code_versions.code_update_scripts.5454_update_code.update()[source]

Move images previously stored in TVB operation folders, in a single folder/project.

6093_update_code

Change Project structure for TVB version 1.1.5.

tvb.core.code_versions.code_update_scripts.6093_update_code.update()[source]

Update TVB code to SVN revision version 6093. This update was done for release 1.1.5.

6600_update_code

Change default data setup for TVB version 1.2.2.

tvb.core.code_versions.code_update_scripts.6600_update_code.update()[source]

Try to import Default_Project, so that new users created with the latest code can share this project.

6728_update_code

Populate Surface fields after 1.2.2, in version 1.2.3.

tvb.core.code_versions.code_update_scripts.6728_update_code.update()[source]

Update Surface metadata

7350_update_code

Populate Surface fields after 1.3.1, in version 1.4.

tvb.core.code_versions.code_update_scripts.7350_update_code.update()[source]

Try to port Projection Matrices and Simulation Configurations from old to new form.

7450_update_code

Change for TVB version 1.4.1.

tvb.core.code_versions.code_update_scripts.7450_update_code.update()[source]

Cleanup Projections from disk (make sure Projection Regions are being removed).

9444_update_code

Change for TVB version 2.0.9.

tvb.core.code_versions.code_update_scripts.9444_update_code.update()[source]

Add new parameters to the tvb.configuration file and delete ‘URL_WEB’