-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issue #971 - summary stats for vep 112
- Loading branch information
Showing
3 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
annotation/migrations/0116_one_off_update_vep_112_conservation_sv.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Generated by Django 4.2.10 on 2024-08-08 02:28 | ||
|
||
from django.db import migrations | ||
|
||
def _one_off_update_vep_112_conservation_sv(apps, schema_editor): | ||
""" | ||
These were accidentally left as short/standard variant only due to copy/paste | ||
I have modified the migration 0115 - so can delete this if squishing migrations | ||
""" | ||
ColumnVEPField = apps.get_model('annotation', 'ColumnVEPField') | ||
ColumnVEPField.objects.filter(min_vep_version=112).update(pipeline_type=None) | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('annotation', '0115_one_off_vep_column_fields_vep112'), | ||
] | ||
|
||
operations = [ | ||
migrations.RunPython(_one_off_update_vep_112_conservation_sv) | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters