Skip to content

Commit

Permalink
Version 1.4.5
Browse files Browse the repository at this point in the history
-Added functionality for logging directory to be OS-dependent. This
allows logs for local testing to be based on widdler directory but
to be in centralized location for production.
  • Loading branch information
amr committed Sep 28, 2017
1 parent 8614231 commit 4011911
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,8 @@ convenient identification.
2017-07-14 12:10:44,813 - widdler - INFO -
-------------End Widdler Execution by amr-------------
```

Widdler logs can be found in /cil/shed/resources/widdler/logs

## Known Issues

Expand Down
8 changes: 7 additions & 1 deletion src/config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import os
import sys

servers = ['ale', 'btl-cromwell', 'localhost', 'gscid-cromwell']
resource_dir = os.path.abspath(os.path.dirname(__file__)).replace('src', 'resources')
log_dir = os.path.abspath(os.path.dirname(__file__)).replace('src', 'logs')

if sys.platform == 'win32':
log_dir = os.path.abspath(os.path.dirname(__file__)).replace('src', 'logs')
else:
log_dir = "/cil/shed/resources/widdler/logs/"
run_states = ['Running', 'Submitted', 'QueuedInCromwell']
terminal_states = ['Failed', 'Aborted', 'Succeeded']

2 changes: 1 addition & 1 deletion widdler.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
__copyright__ = "Copyright 2017, The Broad Institute"
__credits__ = ["Amr Abouelleil", "Paul Cao", "Jean Chang"]
__license__ = "GPL"
__version__ = "1.4.4"
__version__ = "1.4.5"
__maintainer__ = "Amr Abouelleil"
__email__ = "amr@broadinstitute.org"
__status__ = "Production"
Expand Down

0 comments on commit 4011911

Please sign in to comment.