dayhoff-tools 1.0.3__py3-none-any.whl → 1.0.4__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/cloud_commands.py +2 -1
- dayhoff_tools/cli/main.py +2 -0
- dayhoff_tools/cli/utility_commands.py +14 -0
- {dayhoff_tools-1.0.3.dist-info → dayhoff_tools-1.0.4.dist-info}/METADATA +1 -1
- {dayhoff_tools-1.0.3.dist-info → dayhoff_tools-1.0.4.dist-info}/RECORD +7 -7
- {dayhoff_tools-1.0.3.dist-info → dayhoff_tools-1.0.4.dist-info}/WHEEL +0 -0
- {dayhoff_tools-1.0.3.dist-info → dayhoff_tools-1.0.4.dist-info}/entry_points.txt +0 -0
@@ -585,7 +585,8 @@ def aws_interactive():
|
|
585
585
|
)
|
586
586
|
|
587
587
|
elif choice == "Show status":
|
588
|
-
|
588
|
+
# Fix: Explicitly pass None for the profile parameter
|
589
|
+
aws_status(profile=None)
|
589
590
|
|
590
591
|
elif choice == "Exit":
|
591
592
|
print(f"To activate profile {current_profile} in your current shell, run:")
|
dayhoff_tools/cli/main.py
CHANGED
@@ -10,6 +10,7 @@ from dayhoff_tools.cli.utility_commands import (
|
|
10
10
|
import_from_warehouse_typer,
|
11
11
|
rebuild_devcontainer_file,
|
12
12
|
test_github_actions_locally,
|
13
|
+
update_dayhoff_tools,
|
13
14
|
)
|
14
15
|
|
15
16
|
app = typer.Typer()
|
@@ -18,6 +19,7 @@ app = typer.Typer()
|
|
18
19
|
app.command("clean")(delete_local_branch)
|
19
20
|
app.command("gha")(test_github_actions_locally)
|
20
21
|
app.command("rebuild")(rebuild_devcontainer_file)
|
22
|
+
app.command("update")(update_dayhoff_tools)
|
21
23
|
app.command("wadd")(add_to_warehouse_typer)
|
22
24
|
app.command("wancestry")(get_ancestry)
|
23
25
|
app.command("wimport")(import_from_warehouse_typer)
|
@@ -251,3 +251,17 @@ def build_and_upload_wheel(bump_part: str = "patch"):
|
|
251
251
|
print(f"Error during build/upload: {e}")
|
252
252
|
except Exception as e:
|
253
253
|
print(f"An unexpected error occurred: {e}")
|
254
|
+
|
255
|
+
|
256
|
+
def update_dayhoff_tools():
|
257
|
+
"""Update the dayhoff-tools package to the latest version using poetry."""
|
258
|
+
try:
|
259
|
+
print("Updating dayhoff-tools to the latest version...")
|
260
|
+
subprocess.run(["poetry", "update", "dayhoff-tools"], check=True)
|
261
|
+
print("Update complete!")
|
262
|
+
except subprocess.CalledProcessError as e:
|
263
|
+
print(f"Error occurred while updating: {e}")
|
264
|
+
sys.exit(1)
|
265
|
+
except FileNotFoundError:
|
266
|
+
print("Error: 'poetry' command not found. Make sure Poetry is installed.")
|
267
|
+
sys.exit(1)
|
@@ -2,10 +2,10 @@ dayhoff_tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
dayhoff_tools/chemistry/standardizer.py,sha256=uMn7VwHnx02nc404eO6fRuS4rsl4dvSPf2ElfZDXEpY,11188
|
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
|
-
dayhoff_tools/cli/cloud_commands.py,sha256=
|
6
|
-
dayhoff_tools/cli/main.py,sha256=
|
5
|
+
dayhoff_tools/cli/cloud_commands.py,sha256=rt8bcNo73zhCwNwcb8zTGmx2xxcGejhKEEl-d9HH2yM,20889
|
6
|
+
dayhoff_tools/cli/main.py,sha256=E1-3rZ26LMgJVKBz6CdJwsHs9fJsSGa2_9tot3hNgz4,3604
|
7
7
|
dayhoff_tools/cli/swarm_commands.py,sha256=5EyKj8yietvT5lfoz8Zx0iQvVaNgc3SJX1z2zQR6o6M,5614
|
8
|
-
dayhoff_tools/cli/utility_commands.py,sha256=
|
8
|
+
dayhoff_tools/cli/utility_commands.py,sha256=AsZMpvUNP2xjn5cZ9_BrBNHggfuy6PLwlHw1WP0d7o0,9602
|
9
9
|
dayhoff_tools/deployment/base.py,sha256=u-AjbtHnFLoLt33dhYXHIpV-6jcieMEHHGBGN_U9Hm0,15626
|
10
10
|
dayhoff_tools/deployment/deploy_aws.py,sha256=O0gQxHioSU_sNU8T8MD4wSOPvWc--V8eRRZzlRu035I,16446
|
11
11
|
dayhoff_tools/deployment/deploy_gcp.py,sha256=DxBM4sUzwPK9RWLP9bSfr38n1HHl-TVrp4TsbdN8pUA,5795
|
@@ -25,7 +25,7 @@ dayhoff_tools/sqlite.py,sha256=jV55ikF8VpTfeQqqlHSbY8OgfyfHj8zgHNpZjBLos_E,18672
|
|
25
25
|
dayhoff_tools/structure.py,sha256=ufN3gAodQxhnt7psK1VTQeu9rKERmo_PhoxIbB4QKMw,27660
|
26
26
|
dayhoff_tools/uniprot.py,sha256=BZYJQF63OtPcBBnQ7_P9gulxzJtqyorgyuDiPeOJqE4,16456
|
27
27
|
dayhoff_tools/warehouse.py,sha256=TqV8nex1AluNaL4JuXH5zuu9P7qmE89lSo6f_oViy6U,14965
|
28
|
-
dayhoff_tools-1.0.
|
29
|
-
dayhoff_tools-1.0.
|
30
|
-
dayhoff_tools-1.0.
|
31
|
-
dayhoff_tools-1.0.
|
28
|
+
dayhoff_tools-1.0.4.dist-info/METADATA,sha256=6redvtvKbCTPTcoxILn4dPLj4HrkqJP_M8dYbQdxmaE,3949
|
29
|
+
dayhoff_tools-1.0.4.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
30
|
+
dayhoff_tools-1.0.4.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
|
31
|
+
dayhoff_tools-1.0.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|