Skip to content

Commit

Permalink
adds entry support
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Oct 12, 2023
1 parent cf6dd2c commit 9a8483a
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 9a8483a

Please sign in to comment.