Skip to content

Commit

Permalink
Use dss_client constructor default for prod deployment (#166)
Browse files Browse the repository at this point in the history
* allow dss client constructor to default for prod deployment
  • Loading branch information
Charley Yan authored Sep 9, 2019
1 parent 7bb9ad4 commit b1c859e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion adapter_pipelines/Optimus/adapter.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ workflow AdapterOptimus {
Boolean record_http = false
Boolean add_md5s = false
String pipeline_tools_version = "v0.56.5"
String pipeline_tools_version = "v0.56.6"
call GetInputs as prep {
input:
Expand Down
2 changes: 1 addition & 1 deletion adapter_pipelines/cellranger/adapter.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ workflow Adapter10xCount {
Boolean record_http = false
Boolean add_md5s = false
String pipeline_tools_version = "v0.56.5"
String pipeline_tools_version = "v0.56.6"
call GetInputs {
input:
Expand Down
2 changes: 1 addition & 1 deletion adapter_pipelines/ss2_single_end/adapter.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ workflow AdapterSmartSeq2SingleCellUnpaired {
Boolean record_http = false
Boolean add_md5s = false
String pipeline_tools_version = "v0.56.5"
String pipeline_tools_version = "v0.56.6"
call GetInputs as prep {
input:
Expand Down
2 changes: 1 addition & 1 deletion adapter_pipelines/ss2_single_sample/adapter.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ workflow AdapterSmartSeq2SingleCell{
Boolean record_http = false
Boolean add_md5s = false
String pipeline_tools_version = "v0.56.5"
String pipeline_tools_version = "v0.56.6"
call GetInputs as prep {
input:
Expand Down
6 changes: 4 additions & 2 deletions pipeline_tools/shared/metadata_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ def get_bundle_metadata(uuid, version, dss_url, directurls=False):
"""
dss_deployment = dss_url.split('.')[1]
if dss_deployment not in ('dev', 'integration', 'staging'):
dss_deployment = None # If none, the production deployment will be used
client = dss_client(deployment=dss_deployment)
# dss_client constructor defaults to the production deployment
client = dss_client()
else:
client = dss_client(deployment=dss_deployment)
version, manifest, metadata_files = download_bundle_metadata(
client=client, replica='gcp', uuid=uuid, version=version, directurls=directurls
)
Expand Down

0 comments on commit b1c859e

Please sign in to comment.