dayhoff-tools 1.14.5__py3-none-any.whl → 1.14.6__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.
@@ -83,7 +83,9 @@ def get_input_file(index: int, job_dir: Path, prefix: str = "chunk") -> Path:
83
83
  return job_dir / "input" / f"{prefix}_{index:03d}.fasta"
84
84
 
85
85
 
86
- def get_output_file(index: int, job_dir: Path, prefix: str = "embed", suffix: str = ".h5") -> Path:
86
+ def get_output_file(
87
+ index: int, job_dir: Path, prefix: str = "embed", suffix: str = ".h5"
88
+ ) -> Path:
87
89
  """Get the output file path for a given index.
88
90
 
89
91
  Args:
@@ -136,10 +136,11 @@ def _finalize_embeddings(output_dir: Path, output_path: Path):
136
136
 
137
137
  # Combine H5 files
138
138
  click.echo("Combining H5 files...")
139
+ # Get list of h5 file paths as strings
140
+ h5_file_paths = [str(f) for f in h5_files]
139
141
  combine_h5_files(
140
- input_folder=str(output_dir),
142
+ input_files=h5_file_paths,
141
143
  output_file=str(output_path),
142
- glob_pattern="embed_*.h5",
143
144
  )
144
145
 
145
146
  # Deduplicate
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dayhoff-tools
3
- Version: 1.14.5
3
+ Version: 1.14.6
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
@@ -1,7 +1,7 @@
1
1
  dayhoff_tools/__init__.py,sha256=M5zThPyEBRYa5CfwlzKhcqTevWn3OKu62cjV6Zqie2A,469
2
2
  dayhoff_tools/batch/__init__.py,sha256=N7v1pUg3rp68W6J7cX2Gssxdfp57Z7G0WeFJh7gKeiM,163
3
3
  dayhoff_tools/batch/workers/__init__.py,sha256=DJTtiBSE5k9J6qwG_MsXDn8hgz_lvEdaMwqKa6YyqXo,369
4
- dayhoff_tools/batch/workers/base.py,sha256=NwvmhUqfN82uyFbf-UyAw7Tddu9kNHnM_nIdCEbZUFc,4263
4
+ dayhoff_tools/batch/workers/base.py,sha256=Jie5ScJrPSRkmLQdcM2hPJTmk3pIeLL0oA8Y9pkP0HA,4269
5
5
  dayhoff_tools/batch/workers/boltz.py,sha256=QTIqMWuV_o3v1tYaZhvjyCl5F65ZlPcc0-TXtitMaFQ,14663
6
6
  dayhoff_tools/batch/workers/embed_t5.py,sha256=A5WqsQa1WZ7_la5X5wt0XUP-VwOglH04WyEINhwipeY,2750
7
7
  dayhoff_tools/chemistry/standardizer.py,sha256=uMn7VwHnx02nc404eO6fRuS4rsl4dvSPf2ElfZDXEpY,11188
@@ -13,7 +13,7 @@ dayhoff_tools/cli/batch/commands/__init__.py,sha256=1xRzzL_mc1hz1Pv0OWNr-g6fkL5X
13
13
  dayhoff_tools/cli/batch/commands/boltz.py,sha256=WARoklK5QTo71echUkm-anyj2AlEI9AEtWaiD_ds-EU,11759
14
14
  dayhoff_tools/cli/batch/commands/cancel.py,sha256=5FHLRoq8nvOr8HuKxXUZqAyAdjQP8seaNSaeAdhOoE8,2890
15
15
  dayhoff_tools/cli/batch/commands/embed_t5.py,sha256=UtF8ulJcz15sdd1QzvPVPeioN_AMks1DZ7c6vKtwhDE,11052
16
- dayhoff_tools/cli/batch/commands/finalize.py,sha256=2kQTtHxdW52s0lrLUlc7tx7Ab092sxs8uSc9-f2utUg,7198
16
+ dayhoff_tools/cli/batch/commands/finalize.py,sha256=i9In09vrzc9jQlCA6F82ceuZB9mHUXeOaYYyRUrHQCc,7254
17
17
  dayhoff_tools/cli/batch/commands/list_jobs.py,sha256=y90_XqFI2qcvV2XUC01P3P2aIdtl5hXP3cBDEofsRtU,2432
18
18
  dayhoff_tools/cli/batch/commands/local.py,sha256=vOTojTAp4YZXIMLKNqc76oIE0oWMjB1mtTe6r19LrEc,3075
19
19
  dayhoff_tools/cli/batch/commands/logs.py,sha256=FOYpANQCsQTJKigq77k1xbhgOqtRPw9hyHkljILWlmo,5241
@@ -70,7 +70,7 @@ dayhoff_tools/intake/uniprot.py,sha256=BZYJQF63OtPcBBnQ7_P9gulxzJtqyorgyuDiPeOJq
70
70
  dayhoff_tools/logs.py,sha256=DKdeP0k0kliRcilwvX0mUB2eipO5BdWUeHwh-VnsICs,838
71
71
  dayhoff_tools/sqlite.py,sha256=jV55ikF8VpTfeQqqlHSbY8OgfyfHj8zgHNpZjBLos_E,18672
72
72
  dayhoff_tools/warehouse.py,sha256=UETBtZD3r7WgvURqfGbyHlT7cxoiVq8isjzMuerKw8I,24475
73
- dayhoff_tools-1.14.5.dist-info/METADATA,sha256=D9qnPVpWLC_lEVvpBSloIDCWE28Bhi7XvC-WvLpRQpE,3184
74
- dayhoff_tools-1.14.5.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
75
- dayhoff_tools-1.14.5.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
76
- dayhoff_tools-1.14.5.dist-info/RECORD,,
73
+ dayhoff_tools-1.14.6.dist-info/METADATA,sha256=3rnOAUIQQN2JYIy6MtfSgAraglhmDY64Aq7fQWs-iRo,3184
74
+ dayhoff_tools-1.14.6.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
75
+ dayhoff_tools-1.14.6.dist-info/entry_points.txt,sha256=iAf4jteNqW3cJm6CO6czLxjW3vxYKsyGLZ8WGmxamSc,49
76
+ dayhoff_tools-1.14.6.dist-info/RECORD,,