aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBonfaceKilz2021-10-28 11:05:19 +0300
committerBonfaceKilz2021-10-28 11:10:21 +0300
commit03caa57ad209f3bdd135be9d6516b94261c9b8de (patch)
tree17ddfbdd37fe7fa7b3007dbaf2805813f136be2b /bin
parent230184bf1484ed672bf66c29110bcb47e556f72f (diff)
downloadgenenetwork2-03caa57ad209f3bdd135be9d6516b94261c9b8de.tar.gz
Remove all elasticsearch references in gn2
Diffstat (limited to 'bin')
-rwxr-xr-xbin/genenetwork27
1 files changed, 0 insertions, 7 deletions
diff --git a/bin/genenetwork2 b/bin/genenetwork2
index 2b94b2a2..5f714d2e 100755
--- a/bin/genenetwork2
+++ b/bin/genenetwork2
@@ -101,13 +101,6 @@ fi
export GN2_SETTINGS=$settings # Python
echo GN2_SETTINGS=$settings
-# This is a temporary hack to inject ES - should have added python2-elasticsearch package to guix instead
-# if [ -z $ELASTICSEARCH_PROFILE ]; then
-# echo -e "WARNING: Elastic Search profile has not been set - use ELASTICSEARCH_PROFILE";
-# else
-# PYTHONPATH="$PYTHONPATH${PYTHONPATH:+:}$ELASTICSEARCH_PROFILE/lib/python3.8/site-packages"
-# fi
-
if [ -z $GN2_PROFILE ] ; then
echo "WARNING: GN2_PROFILE has not been set - you need the environment, so I hope you know what you are doing!"
export GN2_PROFILE=$(dirname $(dirname $(which genenetwork2)))