From e46ee3dfa0df3937319f4982b640dfdac7e5e268 Mon Sep 17 00:00:00 2001 From: AndiMajore <andi.majore@googlemail.com> Date: Thu, 23 Jun 2022 00:17:36 +0200 Subject: [PATCH] fixing PDI and PDi import Former-commit-id: 4c5f598598349cfbd677a39fa89a0ca1a13778cd [formerly c3f6143e657675ff44956af0e17664b008c4b78d] Former-commit-id: 86ce1beb429cf87466b0ce5abbfbd61a2cbcea34 --- .../{PDI => PDi}/disgenet-protein_disorder_association.tsv | 0 drugstone/management/includes/DataPopulator.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename data_drugstone/{PDI => PDi}/disgenet-protein_disorder_association.tsv (100%) diff --git a/data_drugstone/PDI/disgenet-protein_disorder_association.tsv b/data_drugstone/PDi/disgenet-protein_disorder_association.tsv similarity index 100% rename from data_drugstone/PDI/disgenet-protein_disorder_association.tsv rename to data_drugstone/PDi/disgenet-protein_disorder_association.tsv diff --git a/drugstone/management/includes/DataPopulator.py b/drugstone/management/includes/DataPopulator.py index c7dac55..f66b19d 100755 --- a/drugstone/management/includes/DataPopulator.py +++ b/drugstone/management/includes/DataPopulator.py @@ -192,7 +192,7 @@ class DataPopulator: protein=protein, drug=drug )) - models.ProteinProteinInteraction.objects.bulk_create(bulk) + models.ProteinDrugInteraction.objects.bulk_create(bulk) return len(bulk) def populate_pdis_disgenet() -> int: -- GitLab