Skip to content

Commit

Permalink
Add logging reactome download
Browse files Browse the repository at this point in the history
  • Loading branch information
ddomingof committed Oct 7, 2018
1 parent 60ad2fe commit edd1a18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pathme/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ def download():
logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(levelname)s - %(name)s - %(message)s")
log.setLevel(logging.INFO)

log.info('Downloading Reactome RDF file')

cached_file = os.path.join(REACTOME_FILES, get_file_name_from_url(RDF_REACTOME))
make_downloader(RDF_REACTOME, cached_file, REACTOME_FILES, untar_file)
log.info('Reactome was downloaded')
Expand Down

0 comments on commit edd1a18

Please sign in to comment.