From 26d061cc2947fe20a3a6a2f130817306d8ff050b Mon Sep 17 00:00:00 2001
From: AndiMajore <andi.majore@googlemail.com>
Date: Mon, 16 May 2022 13:32:02 +0200
Subject: [PATCH] =?UTF-8?q?updated=20import=20issue=20f=C3=BCr=20disgenet?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Dockerfile                                       |  2 +-
 README.md                                        |  6 ++++--
 .../disgenet-protein_disorder_association.tsv    |  0
 deploy_prod.sh                                   |  0
 import-data.sh                                   | 16 ++++++++++------
 5 files changed, 15 insertions(+), 9 deletions(-)
 rename data-NetExpander/{PDI => PDi}/disgenet-protein_disorder_association.tsv (100%)
 mode change 100644 => 100755 deploy_prod.sh

diff --git a/Dockerfile b/Dockerfile
index a1eb4ab..cc58660 100755
--- a/Dockerfile
+++ b/Dockerfile
@@ -27,6 +27,6 @@ COPY ./import-data.sh /import.sh
 
 COPY . /usr/src/netex/
 
-EXPOSE 8000
+#EXPOSE 8000
 
 ENTRYPOINT ["sh", "/entrypoint.sh"]
diff --git a/README.md b/README.md
index 9148238..91881c4 100755
--- a/README.md
+++ b/README.md
@@ -6,7 +6,9 @@ python3 manage.py createfixtures
 
 python3 manage.py populate_db --delete_model PPI,PDI,Drug,Protein,Tissue,Disorder,PDiAssociations
 
-python3 manage.py populate_db --data_dir . -p protein-file.txt -exp gene_tissue_expression.gct
+python3 manage.py populate_db --data_dir . -p protein-file.txt
+
+python3 manage.py populate_db --data_dir . -exp gene_tissue_expression.gct
 
 python3 manage.py populate_db --data_dir . -dr drug-file.txt -pdr drug-protein-interaction.txt
 
@@ -22,5 +24,5 @@ python3 manage.py make_graphs
 ``docker-compose up --build``
 
 
-### Docker DEV environemt (building is optional)
+### Docker DEV environment (building is optional)
 ``docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build``
diff --git a/data-NetExpander/PDI/disgenet-protein_disorder_association.tsv b/data-NetExpander/PDi/disgenet-protein_disorder_association.tsv
similarity index 100%
rename from data-NetExpander/PDI/disgenet-protein_disorder_association.tsv
rename to data-NetExpander/PDi/disgenet-protein_disorder_association.tsv
diff --git a/deploy_prod.sh b/deploy_prod.sh
old mode 100644
new mode 100755
diff --git a/import-data.sh b/import-data.sh
index f3f7b9f..328b3aa 100755
--- a/import-data.sh
+++ b/import-data.sh
@@ -1,7 +1,11 @@
 #!/bin/bash
-python3 manage.py populate_db --delete_model PPI,PDI,Drug,Protein,Tissue
-python3 manage.py populate_db -p .
-python3 manage.py populate_db --data_dir . --exp_file gene_tissue_expression.gct
-python3 manage.py populate_db --data_dir . --drug_file drug-file.txt
-python3 manage.py populate_db -pp .
-python3 manage.py populate_db -pdr .
\ No newline at end of file
+python3 manage.py populate_db --delete_model PPI,PDI,Drug,Protein,Tissue,Disorder,PDiAssociations
+
+python3 manage.py populate_db --data_dir . -p protein-file.txt
+python3 manage.py populate_db --data_dir . -exp gene_tissue_expression.gct
+
+python3 manage.py populate_db --data_dir . -dr drug-file.txt
+python3 manage.py populate_db --data_dir . -pdr drug-protein-interaction.txt
+python3 manage.py populate_db -di ""
+python3 manage.py populate_db --data_dir . -pdi "" -ddi ""
+python3 manage.py populate_db -pp protein_protein_interaction_file.txt
\ No newline at end of file
-- 
GitLab