dayhoff-tools 1.11.9__py3-none-any.whl → 1.11.10__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.
@@ -485,10 +485,14 @@ def _get_current_aws_profile() -> str:
485
485
  cmd = [aws_path, "configure", "list", "--no-cli-pager"]
486
486
  _, stdout, _ = _run_command(cmd, capture=True, check=False)
487
487
 
488
- # Extract profile from output
489
- profile_match = re.search(r"profile\s+(\S+)", stdout)
490
- if profile_match and profile_match.group(1) not in ("<not", "not"):
491
- return profile_match.group(1)
488
+ # Extract profile from output (format: "profile : <value> : <type> : <location>")
489
+ # Match the line starting with "profile" and capture the value after the first colon
490
+ profile_match = re.search(r"^profile\s+:\s+(\S+)", stdout, re.MULTILINE)
491
+ if profile_match:
492
+ profile_value = profile_match.group(1)
493
+ # Check if the profile is actually set (not "<not" or "not")
494
+ if profile_value not in ("<not", "not"):
495
+ return profile_value
492
496
  except:
493
497
  pass
494
498
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dayhoff-tools
3
- Version: 1.11.9
3
+ Version: 1.11.10
4
4
  Summary: Common tools for all the repos at Dayhoff Labs
5
5
  Author: Daniel Martin-Alarcon
6
6
  Author-email: dma@dayhofflabs.com
@@ -29,7 +29,6 @@ Requires-Dist: pyyaml (>=6.0)
29
29
  Requires-Dist: questionary (>=2.0.1)
30
30
  Requires-Dist: rdkit-pypi (>=2022.9.5) ; extra == "full"
31
31
  Requires-Dist: requests (>=2.31.0)
32
- Requires-Dist: seaborn (>=0.13.2)
33
32
  Requires-Dist: sentencepiece (>=0.2.0) ; extra == "embedders"
34
33
  Requires-Dist: sentencepiece (>=0.2.0) ; extra == "full"
35
34
  Requires-Dist: sqlalchemy (>=2.0.40,<3.0.0) ; extra == "full"
@@ -2,7 +2,7 @@ dayhoff_tools/__init__.py,sha256=M5zThPyEBRYa5CfwlzKhcqTevWn3OKu62cjV6Zqie2A,469
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=33qcWLmq-FwEXMdL3F0OHm-5Stlh2r65CldyEZgQ1no,40904
5
+ dayhoff_tools/cli/cloud_commands.py,sha256=xrWQZm48e09GTh8RmYh3JqXUzW8mMy07dHk_77LqZx8,41199
6
6
  dayhoff_tools/cli/engine/__init__.py,sha256=RE45X2IPCNUvQp6_OHI2lbjwoqexkH3roUPccIHkeJo,9540
7
7
  dayhoff_tools/cli/engine/engine_core.py,sha256=TECO6766GCZTtbxOY7QRggwmjpMH9JZSuxjbwF46unU,27061
8
8
  dayhoff_tools/cli/engine/engine_lifecycle.py,sha256=_Dk-EZs_qbm8APdOuGOuxhlbK6RgkkoLk2nrwKoo1-A,4519
@@ -33,7 +33,7 @@ dayhoff_tools/intake/uniprot.py,sha256=BZYJQF63OtPcBBnQ7_P9gulxzJtqyorgyuDiPeOJq
33
33
  dayhoff_tools/logs.py,sha256=DKdeP0k0kliRcilwvX0mUB2eipO5BdWUeHwh-VnsICs,838
34
34
  dayhoff_tools/sqlite.py,sha256=jV55ikF8VpTfeQqqlHSbY8OgfyfHj8zgHNpZjBLos_E,18672
35
35
  dayhoff_tools/warehouse.py,sha256=UETBtZD3r7WgvURqfGbyHlT7cxoiVq8isjzMuerKw8I,24475
36
- dayhoff_tools-1.11.9.dist-info/METADATA,sha256=POBxTDcl6NafsxeUli-dgk5-CZ7SvytEjEONN8OEazA,3014
37
- dayhoff_tools-1.11.9.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
38
- dayhoff_tools-1.11.9.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
39
- dayhoff_tools-1.11.9.dist-info/RECORD,,
36
+ dayhoff_tools-1.11.10.dist-info/METADATA,sha256=3VZrQN31QyCVvRDNN0d4RQW6vqEjI6Q8tyW9O_Gz95o,2981
37
+ dayhoff_tools-1.11.10.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
38
+ dayhoff_tools-1.11.10.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
39
+ dayhoff_tools-1.11.10.dist-info/RECORD,,