dayhoff-tools 1.1.1__py3-none-any.whl → 1.1.2__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/main.py +3 -5
- dayhoff_tools/cli/utility_commands.py +0 -11
- {dayhoff_tools-1.1.1.dist-info → dayhoff_tools-1.1.2.dist-info}/METADATA +1 -1
- {dayhoff_tools-1.1.1.dist-info → dayhoff_tools-1.1.2.dist-info}/RECORD +6 -6
- {dayhoff_tools-1.1.1.dist-info → dayhoff_tools-1.1.2.dist-info}/WHEEL +0 -0
- {dayhoff_tools-1.1.1.dist-info → dayhoff_tools-1.1.2.dist-info}/entry_points.txt +0 -0
dayhoff_tools/cli/main.py
CHANGED
@@ -9,7 +9,6 @@ from dayhoff_tools.cli.utility_commands import (
|
|
9
9
|
get_ancestry,
|
10
10
|
import_from_warehouse_typer,
|
11
11
|
install_dependencies,
|
12
|
-
rebuild_devcontainer_file,
|
13
12
|
test_github_actions_locally,
|
14
13
|
update_dependencies,
|
15
14
|
)
|
@@ -23,13 +22,12 @@ app.command("clean")(delete_local_branch)
|
|
23
22
|
app.command(
|
24
23
|
"install", help="Install dependencies based on pyproject.toml and sync environment."
|
25
24
|
)(install_dependencies)
|
26
|
-
app.command(
|
27
|
-
|
28
|
-
)
|
25
|
+
app.command("update", help="Update dayhoff-tools (or all deps) and sync environment.")(
|
26
|
+
update_dependencies
|
27
|
+
)
|
29
28
|
|
30
29
|
# Other Utilities
|
31
30
|
app.command("gha")(test_github_actions_locally)
|
32
|
-
app.command("rebuild")(rebuild_devcontainer_file)
|
33
31
|
app.command("wadd")(add_to_warehouse_typer)
|
34
32
|
app.command("wancestry")(get_ancestry)
|
35
33
|
app.command("wimport")(import_from_warehouse_typer)
|
@@ -23,17 +23,6 @@ def test_github_actions_locally():
|
|
23
23
|
print(f"Error occurred while running the script: {e}")
|
24
24
|
|
25
25
|
|
26
|
-
def rebuild_devcontainer_file():
|
27
|
-
"""Run the script prepare_for_build.py."""
|
28
|
-
script_path = ".devcontainer/scripts/prepare_for_build.py"
|
29
|
-
|
30
|
-
try:
|
31
|
-
subprocess.check_call([sys.executable, script_path])
|
32
|
-
print("Script ran successfully!")
|
33
|
-
except subprocess.CalledProcessError as e:
|
34
|
-
print(f"Error occurred while running the script: {e}")
|
35
|
-
|
36
|
-
|
37
26
|
def get_ancestry(filepath: str) -> None:
|
38
27
|
"""Take a .dvc file created from import, and generate an ancestry entry
|
39
28
|
that can be manually copied into other .dvc files."""
|
@@ -3,9 +3,9 @@ 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=KiYEuD3nSg8QPWBYfrhdze2La_CJe4iqK-8uOAHyS8U,35827
|
6
|
-
dayhoff_tools/cli/main.py,sha256=
|
6
|
+
dayhoff_tools/cli/main.py,sha256=Ae0Bee2VjRzUge1I2DJoDVqoXpQnKfxGhdiMSmIWJwo,3788
|
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=fauEY2M9NyoW5XeU4wyEw8t5PZlSLx5b9kIRXJ4WGNg,20843
|
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.1.
|
29
|
-
dayhoff_tools-1.1.
|
30
|
-
dayhoff_tools-1.1.
|
31
|
-
dayhoff_tools-1.1.
|
28
|
+
dayhoff_tools-1.1.2.dist-info/METADATA,sha256=5tt1iO_M0YddPk-2Ne3b3f6rzYJIkuije8Ad6M4E3aI,2213
|
29
|
+
dayhoff_tools-1.1.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
30
|
+
dayhoff_tools-1.1.2.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
|
31
|
+
dayhoff_tools-1.1.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|