Skip to content

Commit

Permalink
Add verbose error message and dockerfile entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ajlail98 committed Jul 30, 2021
1 parent 33f75e1 commit 7fdf590
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@ RUN echo "Checking autometa entrypoints" \
&& autometa-taxonomy-majority-vote -h > /dev/null \
&& autometa-binning -h > /dev/null \
&& autometa-unclustered-recruitment -h > /dev/null \
&& autometa-binning-summary -h > /dev/null
&& autometa-binning-summary -h > /dev/null \
&& autometa-download-dataset -h > /dev/null
2 changes: 1 addition & 1 deletion autometa/validation/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def main():

if not internet_is_connected(host=args.host):
logger.error(
"No internet connection detected. Please confirm connection. Downloader will still attempt to run. (Ping a custom IP address with --host argument)"
"No internet connection detected (couldn't ping google.com at IP 8.8.8.8). Please confirm connection. Downloader will still attempt to run. (Ping a custom IP address with --host argument)"
)

download(
Expand Down

0 comments on commit 7fdf590

Please sign in to comment.