-
- Downloads
Merge gbinfo-sync-branch.
Synchronize the GBInfo database table with other Mutalyzer installations by querying them for recently added entries via a webservice method. For entries without creation info (e.g. uploaded genbank files), the file itself is also transferred. Changes to the mutalyzer database: ALTER TABLE GBInfo ADD COLUMN created TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, ADD INDEX created (created); To setup automatic synchronization, use the crontab example in extras/cron.d/mutalyzer-cache-sync (replace the path to the binary by `which mutalyzer-cache-sync`). git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/branches/refactor-mutalyzer-branch@331 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
Showing
- bin/mutalyzer-cache-sync 50 additions, 0 deletionsbin/mutalyzer-cache-sync
- extras/cron.d/mutalyzer-cache-sync 2 additions, 0 deletionsextras/cron.d/mutalyzer-cache-sync
- extras/post-install.sh 6 additions, 1 deletionextras/post-install.sh
- extras/soap-tools/getcache.py 53 additions, 0 deletionsextras/soap-tools/getcache.py
- mutalyzer/Db.py 26 additions, 7 deletionsmutalyzer/Db.py
- mutalyzer/config.py 1 addition, 0 deletionsmutalyzer/config.py
- mutalyzer/models.py 22 additions, 2 deletionsmutalyzer/models.py
- mutalyzer/sync.py 201 additions, 0 deletionsmutalyzer/sync.py
- mutalyzer/util.py 31 additions, 0 deletionsmutalyzer/util.py
- mutalyzer/webservice.py 34 additions, 1 deletionmutalyzer/webservice.py
- setup.py 6 additions, 3 deletionssetup.py
- tests/test_webservice.py 22 additions, 12 deletionstests/test_webservice.py
- tests/test_website.py 5 additions, 1 deletiontests/test_website.py
Loading
Please register or sign in to comment