Skip to content

Commit

Permalink
feat(#605): add README and empty migration script
Browse files Browse the repository at this point in the history
  • Loading branch information
tamslo committed May 2, 2023
1 parent 65d9e69 commit 9997d1f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions anni/migration/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Anni Migration Scripts

This script can be used to manually migrate Anni data backups after breaking changes.

## Run script

1. Have `python3` installed
2. Run `pyhthon3 migrate.py <PATH_TO_BACKUP>.json[.base64]`
3. The script will test what needs to be migrated and write a migrated backup to `<PATH_TO_BACKUP>_migrated.base64`

## Breaking changes covered

* [Add new medications (FDA)](https://github.com/hpi-dhc/PharMe/pull/582)
* [One annotation per phenotype](https://github.com/hpi-dhc/PharMe/pull/597)
* [Zipped Anni backup](https://github.com/hpi-dhc/PharMe/pull/599)
* [Use phenotypes from cpic](https://github.com/hpi-dhc/PharMe/pull/602)
Empty file added anni/migration/migrate.py
Empty file.

0 comments on commit 9997d1f

Please sign in to comment.