dayhoff-tools 1.4.10__py3-none-any.whl → 1.4.11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dayhoff_tools/cli/engine_commands.py +5 -3
- {dayhoff_tools-1.4.10.dist-info → dayhoff_tools-1.4.11.dist-info}/METADATA +1 -1
- {dayhoff_tools-1.4.10.dist-info → dayhoff_tools-1.4.11.dist-info}/RECORD +5 -5
- {dayhoff_tools-1.4.10.dist-info → dayhoff_tools-1.4.11.dist-info}/WHEEL +0 -0
- {dayhoff_tools-1.4.10.dist-info → dayhoff_tools-1.4.11.dist-info}/entry_points.txt +0 -0
@@ -1606,6 +1606,9 @@ def attach_studio(
|
|
1606
1606
|
engines = response.json().get("engines", [])
|
1607
1607
|
engine = resolve_engine(engine_name_or_id, engines)
|
1608
1608
|
|
1609
|
+
# Flag to track if we started the engine in this command (affects retry length)
|
1610
|
+
engine_started_now: bool = False
|
1611
|
+
|
1609
1612
|
if engine["state"].lower() != "running":
|
1610
1613
|
console.print(f"[yellow]⚠️ Engine is {engine['state']}[/yellow]")
|
1611
1614
|
if engine["state"].lower() == "stopped" and Confirm.ask(
|
@@ -1618,14 +1621,13 @@ def attach_studio(
|
|
1618
1621
|
console.print("[red]❌ Failed to start engine[/red]")
|
1619
1622
|
raise typer.Exit(1)
|
1620
1623
|
console.print("[green]✓ Engine started[/green]")
|
1624
|
+
# Mark that we booted the engine so attach loop gets extended retries
|
1625
|
+
engine_started_now = True
|
1621
1626
|
# No further waiting here – attachment attempts below handle retry logic while the
|
1622
1627
|
# engine finishes booting.
|
1623
1628
|
else:
|
1624
1629
|
raise typer.Exit(1)
|
1625
1630
|
|
1626
|
-
# Track whether this command just started the engine (affects retry length)
|
1627
|
-
engine_started_now = False
|
1628
|
-
|
1629
1631
|
# Retrieve SSH public key (required for authorised_keys provisioning)
|
1630
1632
|
try:
|
1631
1633
|
public_key = get_ssh_public_key()
|
@@ -3,7 +3,7 @@ dayhoff_tools/chemistry/standardizer.py,sha256=uMn7VwHnx02nc404eO6fRuS4rsl4dvSPf
|
|
3
3
|
dayhoff_tools/chemistry/utils.py,sha256=jt-7JgF-GeeVC421acX-bobKbLU_X94KNOW24p_P-_M,2257
|
4
4
|
dayhoff_tools/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
dayhoff_tools/cli/cloud_commands.py,sha256=33qcWLmq-FwEXMdL3F0OHm-5Stlh2r65CldyEZgQ1no,40904
|
6
|
-
dayhoff_tools/cli/engine_commands.py,sha256=
|
6
|
+
dayhoff_tools/cli/engine_commands.py,sha256=gUUkeq9dk3cvPXUUBb0jghXyv2sunMHBpZc7QG13WxM,84239
|
7
7
|
dayhoff_tools/cli/main.py,sha256=rgeEHD9lJ8SBCR34BTLb7gVInHUUdmEBNXAJnq5yEU4,4795
|
8
8
|
dayhoff_tools/cli/swarm_commands.py,sha256=5EyKj8yietvT5lfoz8Zx0iQvVaNgc3SJX1z2zQR6o6M,5614
|
9
9
|
dayhoff_tools/cli/utility_commands.py,sha256=qs8vH9TBFHsOPC3X8cU3qZigM3dDn-2Ytq4o_F2WubU,27874
|
@@ -27,7 +27,7 @@ dayhoff_tools/intake/uniprot.py,sha256=BZYJQF63OtPcBBnQ7_P9gulxzJtqyorgyuDiPeOJq
|
|
27
27
|
dayhoff_tools/logs.py,sha256=DKdeP0k0kliRcilwvX0mUB2eipO5BdWUeHwh-VnsICs,838
|
28
28
|
dayhoff_tools/sqlite.py,sha256=jV55ikF8VpTfeQqqlHSbY8OgfyfHj8zgHNpZjBLos_E,18672
|
29
29
|
dayhoff_tools/warehouse.py,sha256=8YbnQ--usrEgDQGfvpV4MrMji55A0rq2hZaOgFGh6ag,15896
|
30
|
-
dayhoff_tools-1.4.
|
31
|
-
dayhoff_tools-1.4.
|
32
|
-
dayhoff_tools-1.4.
|
33
|
-
dayhoff_tools-1.4.
|
30
|
+
dayhoff_tools-1.4.11.dist-info/METADATA,sha256=YL207sfB-ZU1tyuWixWdJegI-oZvWZ7uM7eOWLDokTQ,2825
|
31
|
+
dayhoff_tools-1.4.11.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
32
|
+
dayhoff_tools-1.4.11.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
|
33
|
+
dayhoff_tools-1.4.11.dist-info/RECORD,,
|
File without changes
|
File without changes
|