From cd6734f70430024bf02fc3494f361a8d4be6297f Mon Sep 17 00:00:00 2001 From: Terrtia Date: Thu, 31 May 2018 15:35:20 +0200 Subject: [PATCH] fix install --- installing_deps.sh | 8 ++++---- var/www/modules/Tags/Flask_Tags.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/installing_deps.sh b/installing_deps.sh index 0106d310..6bb73f6b 100755 --- a/installing_deps.sh +++ b/installing_deps.sh @@ -26,8 +26,11 @@ sudo apt-get install libev-dev libgmp-dev -y #Need for generate-data-flow graph sudo apt-get install graphviz -y +# install nosetests +sudo pip install nose -y + # ssdeep -sudo apt-get install libfuzzy-dev +sudo apt-get install libfuzzy-dev -y sudo apt-get install build-essential libffi-dev automake autoconf libtool -y # REDIS # @@ -108,8 +111,5 @@ HOME=$(pwd) python3 -m textblob.download_corpora python3 -m nltk.downloader vader_lexicon python3 -m nltk.downloader punkt -# install nosetests -sudo pip install nose - #Create the file all_module and update the graph in doc $AIL_HOME/doc/generate_modules_data_flow_graph.sh diff --git a/var/www/modules/Tags/Flask_Tags.py b/var/www/modules/Tags/Flask_Tags.py index 01183b5a..701f7c46 100644 --- a/var/www/modules/Tags/Flask_Tags.py +++ b/var/www/modules/Tags/Flask_Tags.py @@ -816,9 +816,9 @@ def tag_galaxy_info(): synonyms = [] metadata = [] + list_metadata = [] try: meta = data['meta'] - list_metadata = [] for key in meta: if key != 'synonyms': if type(meta[key]) is list: