File: biomaj_migrate_database.py

package info (click to toggle)
biomaj3 3.1.24-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 784 kB
  • sloc: python: 4,495; sh: 359; makefile: 154
file content (7 lines) | stat: -rw-r--r-- 258 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
from biomaj.schema_version import SchemaVersion
import logging

logging.warn('Migrate BioMAJ database...')
logging.warn('Needs global.properties in local directory or env variable BIOMAJ_CONF')
SchemaVersion.migrate_pendings()
logging.warn('Migration done')