-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
563 additions
and
852 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,6 +67,9 @@ docs/_build/ | |
# PyBuilder | ||
target/ | ||
|
||
# PyCharm | ||
.idea/ | ||
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
|
||
|
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,4 +2,5 @@ flake8 | |
pytest | ||
pytest-cov | ||
pytest-runner | ||
mock | ||
mock | ||
python-coveralls |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,6 @@ | ||
schema_salad | ||
ruamel.yaml | ||
cwltool | ||
subprocess32 | ||
wes-service | ||
synapseclient | ||
|
||
pandas | ||
IPython==5.8.0 | ||
future | ||
bravado |
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
test = pytest | ||
|
||
[tool:pytest] | ||
addopts = --cov synorchestrator | ||
addopts = --cov synorchestrator |
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,27 +1,27 @@ | ||
#!/usr/bin/env/python | ||
#!/usr/bin/env python | ||
|
||
import sys | ||
import pkg_resources | ||
import argparse | ||
import synorchestrator | ||
import pkg_resources # part of setuptools | ||
import logging | ||
from synorchestrator.orchestrator import monitor | ||
|
||
logging.basicConfig(level=logging.INFO) | ||
|
||
def main(argv=sys.argv[1:]): | ||
|
||
parser = argparse.ArgumentParser( | ||
description='Synapse Workflow Orchestrator' | ||
) | ||
|
||
exgroup = parser.add_mutually_exclusive_group() | ||
exgroup.add_argument("--version", action="store_true", default=False) | ||
def main(argv=sys.argv[1:]): | ||
|
||
parser = argparse.ArgumentParser(description='Synapse Workflow Orchestrator') | ||
parser.add_argument("--version", action="store_true", default=False) | ||
args = parser.parse_args(argv) | ||
|
||
if args.version: | ||
pkg = pkg_resources.require('synapse-orchestrator') | ||
print u"%s %s" % (sys.argv[0], pkg[0].version) | ||
print(u"%s %s" % (sys.argv[0], pkg[0].version)) | ||
exit(0) | ||
|
||
monitor() | ||
|
||
|
||
if __name__ == '__main__': | ||
sys.exit(main(sys.argv[1:])) | ||
main(sys.argv[1:]) |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.