dayhoff-tools 1.4.1__py3-none-any.whl → 1.4.3__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 +4 -11
- {dayhoff_tools-1.4.1.dist-info → dayhoff_tools-1.4.3.dist-info}/METADATA +1 -1
- {dayhoff_tools-1.4.1.dist-info → dayhoff_tools-1.4.3.dist-info}/RECORD +5 -5
- {dayhoff_tools-1.4.1.dist-info → dayhoff_tools-1.4.3.dist-info}/WHEEL +0 -0
- {dayhoff_tools-1.4.1.dist-info → dayhoff_tools-1.4.3.dist-info}/entry_points.txt +0 -0
@@ -1253,7 +1253,7 @@ def create_ami(
|
|
1253
1253
|
console.print(f"AMI Name: [cyan]{ami_name}[/cyan]")
|
1254
1254
|
console.print(f"Description: {ami_description}")
|
1255
1255
|
console.print(
|
1256
|
-
"\n[yellow]⚠️ Important: This will reboot the engine to ensure a clean snapshot.[/yellow]"
|
1256
|
+
"\n[yellow]⚠️ Important: This will detach all studios and reboot the engine to ensure a clean snapshot.[/yellow]"
|
1257
1257
|
)
|
1258
1258
|
|
1259
1259
|
if not Confirm.ask("\nContinue with AMI creation?"):
|
@@ -1322,15 +1322,10 @@ def create_ami(
|
|
1322
1322
|
attached_studios = attached_resp.json().get("studios", []) if attached_resp.status_code == 200 else []
|
1323
1323
|
|
1324
1324
|
if attached_studios:
|
1325
|
-
console.print(f"
|
1325
|
+
console.print(f"Detaching {len(attached_studios)} studio(s) from this engine…")
|
1326
1326
|
for s in attached_studios:
|
1327
1327
|
console.print(f" • {s['user']} ({s['studio_id']})")
|
1328
1328
|
|
1329
|
-
if not Confirm.ask("Detach all studios before AMI creation?"):
|
1330
|
-
console.print("AMI creation cancelled.")
|
1331
|
-
return
|
1332
|
-
|
1333
|
-
console.print("Detaching studios…")
|
1334
1329
|
for s in attached_studios:
|
1335
1330
|
resp = make_api_request("POST", f"/studios/{s['studio_id']}/detach")
|
1336
1331
|
if resp.status_code != 200:
|
@@ -1338,7 +1333,7 @@ def create_ami(
|
|
1338
1333
|
return
|
1339
1334
|
|
1340
1335
|
# Wait briefly for volumes to become available (max 2 min)
|
1341
|
-
|
1336
|
+
# (time is already imported at module level)
|
1342
1337
|
ec2_wait = boto3.client("ec2", region_name="us-east-1")
|
1343
1338
|
vol_ids = [s['studio_id'] for s in attached_studios]
|
1344
1339
|
console.print("Waiting for volumes to detach…")
|
@@ -1354,9 +1349,7 @@ def create_ami(
|
|
1354
1349
|
TextColumn("[progress.description]{task.description}"),
|
1355
1350
|
transient=True,
|
1356
1351
|
) as progress:
|
1357
|
-
progress.add_task(
|
1358
|
-
"Creating AMI (this will take several minutes)...", total=None
|
1359
|
-
)
|
1352
|
+
progress.add_task("Creating AMI (this will take several minutes)...", total=None)
|
1360
1353
|
|
1361
1354
|
create_params = {
|
1362
1355
|
"InstanceId": engine["instance_id"],
|
@@ -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=rUkPJkfeCJzUfqtCOCD6-s38RwEkBmGrB3pZfjOXWIo,83390
|
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.3.dist-info/METADATA,sha256=TzdUkw6VXAP4ut9kEGYFSmC-8UhkvLe5K4QEA5NqwJU,2824
|
31
|
+
dayhoff_tools-1.4.3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
32
|
+
dayhoff_tools-1.4.3.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
|
33
|
+
dayhoff_tools-1.4.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|