Skip to content

Commit

Permalink
Forgotten updates for release 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnaBobasheva committed Jun 13, 2023
1 parent 20ad074 commit e6ae042
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ for lang in $SPOTLIGHT_LANGUAGES; do
# download model
curl -O $result

tar -C "$SPOTLIGHT_MODEL_DIR" -xvf spotlight-model_lang=$lang.tar.gz
tar -C $SPOTLIGHT_MODEL_DIR -xvf spotlight-model_lang=$lang.tar.gz
rm spotlight-model_lang=$lang.tar.gz
echo "$lang model is downloaded "

Expand Down
4 changes: 2 additions & 2 deletions pipeline/1_load_metadata.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ echo "************************************************************************"
echo " Loading and processing corpus metadata..."
echo "************************************************************************"

#activate virtual environment
#activate the virtual environment
source ${ISSA_VENV}/bin/activate

pushd ./metadata
Expand All @@ -25,7 +25,7 @@ pushd ./metadata

popd

# deactivate virtual environment
# deactivate the virtual environment
deactivate


Expand Down
2 changes: 1 addition & 1 deletion pipeline/mongo/run-import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ IDIR=$MONGODB_IMPORT_DIR

CONTAINER=${MONGODB_CONT_NAME:-mongodb}

docker start $CONTAINER

log_dir=../logs
mkdir -p $log_dir
log=$log_dir/import_mongodb_$(date "+%Y%m%d_%H%M%S").log


if [ $( docker ps -f name=$CONTAINER| wc -l ) -gt 1 ]; then

docker exec -w $WDIR $CONTAINER \
Expand Down

0 comments on commit e6ae042

Please sign in to comment.