Skip to content

Commit

Permalink
some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
abretaud committed Oct 31, 2019
1 parent 134900a commit 29ad946
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions bootstrap_apollo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
export GALAXY_SHARED_DIR=`pwd`/apollo_shared_dir
mkdir -p "$GALAXY_SHARED_DIR"

docker pull quay.io/gmod/apollo:latest
docker run --memory=4g -d -it -p 8888:8080 -v `pwd`/apollo_shared_dir/:`pwd`/apollo_shared_dir/ quay.io/gmod/apollo:latest

echo "[BOOTSTRAP] Waiting while Apollo starts up..."
# Wait for apollo to be online
for ((i=0;i<30;i++))
do
echo $i
APOLLO_UP=$(arrow users get_users 2> /dev/null | head -1 | grep '^\[$' -q; echo "$?")
if [[ $APOLLO_UP -eq 0 ]]; then
break
Expand Down
4 changes: 2 additions & 2 deletions test/remote_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_update_organism(self):

org_info = wa.organisms.show_organism('temp_org')

meta = '{"bla": "bli"}'
meta = {"bla": "bli"}

with tempfile.NamedTemporaryFile(suffix='.tar.gz') as archive:
with tarfile.open(archive.name, mode="w:gz") as tar:
Expand All @@ -66,7 +66,7 @@ def test_update_organism(self):

def test_add_organism(self):

meta = '{"bla": "bli"}'
meta = {"bla": "bli"}

with tempfile.NamedTemporaryFile(suffix='.tar.gz') as archive:
with tarfile.open(archive.name, mode="w:gz") as tar:
Expand Down

0 comments on commit 29ad946

Please sign in to comment.