dayhoff-tools 1.4.14__tar.gz → 1.4.16__tar.gz
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-1.4.14 → dayhoff_tools-1.4.16}/PKG-INFO +1 -1
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/cli/engine_commands.py +7 -7
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/pyproject.toml +1 -1
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/README.md +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/__init__.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/chemistry/standardizer.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/chemistry/utils.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/cli/__init__.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/cli/cloud_commands.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/cli/main.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/cli/swarm_commands.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/cli/utility_commands.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/deployment/base.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/deployment/deploy_aws.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/deployment/deploy_gcp.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/deployment/deploy_utils.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/deployment/job_runner.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/deployment/processors.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/deployment/swarm.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/embedders.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/fasta.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/file_ops.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/h5.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/intake/gcp.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/intake/gtdb.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/intake/kegg.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/intake/mmseqs.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/intake/structure.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/intake/uniprot.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/logs.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/sqlite.py +0 -0
- {dayhoff_tools-1.4.14 → dayhoff_tools-1.4.16}/dayhoff_tools/warehouse.py +0 -0
@@ -1747,11 +1747,11 @@ def _attempt_studio_attach(studio, engine, target_user, public_key):
|
|
1747
1747
|
error_text = response.json().get("error", "Unknown error")
|
1748
1748
|
|
1749
1749
|
if not recoverable:
|
1750
|
-
# fatal – abort immediately
|
1750
|
+
# fatal – abort immediately
|
1751
1751
|
return False, error_text
|
1752
1752
|
|
1753
|
-
#
|
1754
|
-
return False,
|
1753
|
+
# recoverable – signal caller to retry without treating as error
|
1754
|
+
return False, None
|
1755
1755
|
|
1756
1756
|
|
1757
1757
|
@studio_app.command("detach")
|
@@ -1980,11 +1980,11 @@ def reset_studio(
|
|
1980
1980
|
waiter = ec2.get_waiter("volume_available")
|
1981
1981
|
waiter.wait(VolumeIds=[studio["studio_id"]])
|
1982
1982
|
|
1983
|
-
# Reset in DynamoDB
|
1983
|
+
# Reset in DynamoDB – align attribute names with Studio Manager backend
|
1984
1984
|
table.update_item(
|
1985
|
-
Key={"
|
1986
|
-
UpdateExpression="SET #
|
1987
|
-
ExpressionAttributeNames={"#
|
1985
|
+
Key={"StudioID": studio["studio_id"]},
|
1986
|
+
UpdateExpression="SET #st = :status, AttachedVMID = :vm_id, AttachedDevice = :device",
|
1987
|
+
ExpressionAttributeNames={"#st": "Status"},
|
1988
1988
|
ExpressionAttributeValues={
|
1989
1989
|
":status": "available",
|
1990
1990
|
":vm_id": None,
|
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
|
|
5
5
|
|
6
6
|
[project]
|
7
7
|
name = "dayhoff-tools"
|
8
|
-
version = "1.4.
|
8
|
+
version = "1.4.16"
|
9
9
|
description = "Common tools for all the repos at Dayhoff Labs"
|
10
10
|
authors = [
|
11
11
|
{name = "Daniel Martin-Alarcon", email = "dma@dayhofflabs.com"}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|