Skip to content

Commit

Permalink
Merge pull request #26 from Sage-Bionetworks-Workflows/bwmac/ORCA-280…
Browse files Browse the repository at this point in the history
…/nf_entry_support

[ORCA-280] Adds Support for Nextflow Entrypoints in `LaunchInfo`
  • Loading branch information
BWMac authored Oct 12, 2023
2 parents cf6dd2c + 9a8483a commit e3ddde0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/orca/services/nextflowtower/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ class LaunchInfo(BaseTowerModel):
label_ids: list[int] = field(default_factory=list)
resume: bool = False
session_id: Optional[str] = None
entry_name: Optional[str] = ""

@root_validator()
def check_resume_and_session_id(cls, values: dict[str, Any]):
Expand Down Expand Up @@ -223,7 +224,7 @@ def to_json(self) -> dict[str, Any]:
"configProfiles": dedup(self.profiles),
"configText": self.nextflow_config,
"dateCreated": None,
"entryName": None,
"entryName": self.get("entry_name"),
"headJobCpus": None,
"headJobMemoryMb": None,
"id": None,
Expand Down

0 comments on commit e3ddde0

Please sign in to comment.