diff --git a/demo.py b/demo.py index 8b3d446..ea34bfb 100644 --- a/demo.py +++ b/demo.py @@ -46,15 +46,12 @@ def synstage_info(self, samplesheet_uri: str) -> LaunchInfo: run_name=run_name, pipeline="Sage-Bionetworks-Workflows/nf-synapse", revision="main", + profiles=["sage"], entry_name="NF_SYNSTAGE", params={ "input": samplesheet_uri, }, - workspace_secrets=[ - "SYNAPSE_AUTH_TOKEN", - "SB_AUTH_TOKEN", - "SB_API_ENDPOINT", - ], + workspace_secrets=["SYNAPSE_AUTH_TOKEN"], ) def rnaseq_info(self, staged_samplesheet_uri: str, outdir_uri: str) -> LaunchInfo: @@ -134,7 +131,7 @@ def get_staged_samplesheet(self, samplesheet: str) -> str: if scheme != "s3": raise ValueError("Expected an S3 URI.") path = PurePosixPath(samplesheet_resource) - return f"{scheme}://{path.parent}/synstage/{path.name}" + return f"{scheme}://{path.parent}/{path.name}" def monitor_workflow(self, workflow_id): """Monitor any workflow run (wait until done)."""