dayhoff-tools 1.1.21__tar.gz → 1.1.22__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.1.21 → dayhoff_tools-1.1.22}/PKG-INFO +1 -1
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/cli/utility_commands.py +6 -3
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/deployment/processors.py +4 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/deployment/swarm.py +5 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/pyproject.toml +1 -1
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/README.md +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/__init__.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/chemistry/standardizer.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/chemistry/utils.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/cli/__init__.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/cli/cloud_commands.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/cli/main.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/cli/swarm_commands.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/deployment/base.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/deployment/deploy_aws.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/deployment/deploy_gcp.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/deployment/deploy_utils.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/deployment/job_runner.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/embedders.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/fasta.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/file_ops.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/h5.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/intake/gcp.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/intake/gtdb.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/intake/kegg.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/intake/mmseqs.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/intake/structure.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/intake/uniprot.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/logs.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/sqlite.py +0 -0
- {dayhoff_tools-1.1.21 → dayhoff_tools-1.1.22}/dayhoff_tools/warehouse.py +0 -0
@@ -573,13 +573,16 @@ def update_dependencies(
|
|
573
573
|
print(f"Updating {pyproject_path} version constraint...")
|
574
574
|
try:
|
575
575
|
content = pyproject_path.read_text()
|
576
|
+
package_name_re = re.escape(
|
577
|
+
"dayhoff-tools"
|
578
|
+
) # Use the actual package name
|
576
579
|
pattern = re.compile(
|
577
|
-
"^(
|
580
|
+
rf"^(\\s*['\"])({package_name_re})(\\[[^\\]]+\\])?(?:[^'\"[\,\\s]*)?(['\"].*)$",
|
578
581
|
re.MULTILINE,
|
579
582
|
)
|
580
|
-
package_name
|
583
|
+
# package_name variable is still 'dayhoff-tools'
|
581
584
|
new_constraint_text = f">={locked_version}"
|
582
|
-
replacement_string =
|
585
|
+
replacement_string = rf"\\g<1>\\g<2>\\g<3>{new_constraint_text}\\g<4>"
|
583
586
|
new_content, num_replacements = pattern.subn(
|
584
587
|
replacement_string, content
|
585
588
|
)
|
@@ -175,6 +175,10 @@ class MMSeqsProfileProcessor(Processor):
|
|
175
175
|
else:
|
176
176
|
self.mmseqs_args = default_mmseqs_args
|
177
177
|
|
178
|
+
# Log dayhoff-tools version
|
179
|
+
from dayhoff_tools import __version__
|
180
|
+
|
181
|
+
logger.info(f"dayhoff-tools version: {__version__}")
|
178
182
|
logger.info(
|
179
183
|
f"MMSeqsProfileProcessor initialized with query: {self.query_fasta_path}"
|
180
184
|
)
|
@@ -439,6 +439,11 @@ class Operator:
|
|
439
439
|
- For AWS spot instances, uses IMDSv2 to check instance-action metadata
|
440
440
|
- For GCP preemptible VMs, checks both maintenance-event and preempted metadata
|
441
441
|
"""
|
442
|
+
logger.info(
|
443
|
+
"DEBUG: _check_for_termination has been temporarily disabled for testing."
|
444
|
+
)
|
445
|
+
return # DEBUG: Temporarily disable to test if this is causing premature shutdown
|
446
|
+
|
442
447
|
while not _shutdown_requested.is_set():
|
443
448
|
try:
|
444
449
|
# Check AWS spot termination using IMDSv2 (token-based auth)
|
@@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
|
|
5
5
|
|
6
6
|
[project]
|
7
7
|
name = "dayhoff-tools"
|
8
|
-
version = "1.1.
|
8
|
+
version = "1.1.22"
|
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
|