Skip to content

Commit

Permalink
Add more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
aeg committed Sep 27, 2018
1 parent 745a2f0 commit 5256e4b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion aws_batch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,8 @@ export PYTHONPATH=./aws_batch

export tag='latest'

python aws_batch/register_job_download_raw_files.py lanax/kegg-pathway-extractor:$tag
python aws_batch/register_job_download_raw_files.py lanax/kegg-pathway-extractor:$tag <bucket>


python aws_batch/register_job_simple_pipeline.py lanax/kegg-pathway-extractor:$tag <bucket>
```
4 changes: 4 additions & 0 deletions source/pipeline/main_pipeline_abstractprep.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,9 @@ def run(input_dir, out_file):
logging.basicConfig(level=logging.getLevelName(args.log_level), handlers=[logging.StreamHandler(sys.stdout)],
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')

logger = logging.getLogger(__name__)
logger.info("Starting run with arguments...\n{}".format(args.__dict__))
run(args.input_dir,
args.out_file)
logger.info("Completed run...")

0 comments on commit 5256e4b

Please sign in to comment.