-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-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
Showing
3 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters