Skip to content

Commit

Permalink
reverting profile and authkey back. updating path in get_staged_sampl…
Browse files Browse the repository at this point in the history
…esheet.
  • Loading branch information
jaymedina committed Jan 16, 2024
1 parent 211a360 commit 18ab7e2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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)."""
Expand Down

0 comments on commit 18ab7e2

Please sign in to comment.