rcsb-embedding-model 0.0.22__py3-none-any.whl → 0.0.23__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.
Potentially problematic release.
This version of rcsb-embedding-model might be problematic. Click here for more details.
- rcsb_embedding_model/dataset/esm_prot_from_chain.py +3 -1
- {rcsb_embedding_model-0.0.22.dist-info → rcsb_embedding_model-0.0.23.dist-info}/METADATA +2 -2
- {rcsb_embedding_model-0.0.22.dist-info → rcsb_embedding_model-0.0.23.dist-info}/RECORD +6 -6
- {rcsb_embedding_model-0.0.22.dist-info → rcsb_embedding_model-0.0.23.dist-info}/WHEEL +0 -0
- {rcsb_embedding_model-0.0.22.dist-info → rcsb_embedding_model-0.0.23.dist-info}/entry_points.txt +0 -0
- {rcsb_embedding_model-0.0.22.dist-info → rcsb_embedding_model-0.0.23.dist-info}/licenses/LICENSE.md +0 -0
|
@@ -68,9 +68,11 @@ class EsmProtFromChain(Dataset):
|
|
|
68
68
|
chain_id=chain_id
|
|
69
69
|
)
|
|
70
70
|
for atom_ch in chain_iter(structure):
|
|
71
|
+
if len(atom_ch) == 0:
|
|
72
|
+
raise IOError(f"No atoms were found in structure chain {src_name}.{chain_id}")
|
|
71
73
|
protein_chain = ProteinChain.from_atomarray(rename_atom_ch(atom_ch))
|
|
72
74
|
return ESMProtein.from_protein_chain(protein_chain), item_name
|
|
73
|
-
|
|
75
|
+
raise IOError(f"No chain was found for structure {src_name}")
|
|
74
76
|
|
|
75
77
|
|
|
76
78
|
if __name__ == '__main__':
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rcsb-embedding-model
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.23
|
|
4
4
|
Summary: Protein Embedding Model for Structure Search
|
|
5
5
|
Project-URL: Homepage, https://github.com/rcsb/rcsb-embedding-model
|
|
6
6
|
Project-URL: Issues, https://github.com/rcsb/rcsb-embedding-model/issues
|
|
@@ -17,7 +17,7 @@ Description-Content-Type: text/markdown
|
|
|
17
17
|
|
|
18
18
|
# RCSB Embedding Model
|
|
19
19
|
|
|
20
|
-
**Version** 0.0.
|
|
20
|
+
**Version** 0.0.23
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
## Overview
|
|
@@ -2,7 +2,7 @@ rcsb_embedding_model/__init__.py,sha256=r3gLdeBIXkQEQA_K6QcRPO-TtYuAQSutk6pXRUE_
|
|
|
2
2
|
rcsb_embedding_model/rcsb_structure_embedding.py,sha256=dKp9hXQO0JAnO4SEfjJ_mG_jHu3UxAPguv6jkOjp-BI,4487
|
|
3
3
|
rcsb_embedding_model/cli/args_utils.py,sha256=7nP2q8pL5dWK_U7opxtWmoFcYVwasky6elHk-dASFaI,165
|
|
4
4
|
rcsb_embedding_model/cli/inference.py,sha256=tfMvHAhkUIzJ2RbTtQjq7eWmOUrSyVfH5bjTkCCSIS8,19500
|
|
5
|
-
rcsb_embedding_model/dataset/esm_prot_from_chain.py,sha256=
|
|
5
|
+
rcsb_embedding_model/dataset/esm_prot_from_chain.py,sha256=wUpLUzRiEHG6IMfwpW48606fwXTE3jAWbJaQ7RWoulQ,3685
|
|
6
6
|
rcsb_embedding_model/dataset/esm_prot_from_structure.py,sha256=TeITPdi1uc3qLQ-Pgn807oH6eM0LYv-67RE50ZT4dLI,2551
|
|
7
7
|
rcsb_embedding_model/dataset/resdiue_assembly_embedding_from_structure.py,sha256=worRiNqOJRjyr693TaillsS65bdTdGOoHfwyT9yE1O4,2866
|
|
8
8
|
rcsb_embedding_model/dataset/residue_assembly_embedding_from_tensor_file.py,sha256=JG4rrhziIUtdTmbuTbMbEYHrvlda4m5VWvdJXe_Sv3c,3449
|
|
@@ -23,8 +23,8 @@ rcsb_embedding_model/utils/model.py,sha256=xr3p02ohOgJ5UInwdIupN68Oq4yvNFhxobZRa
|
|
|
23
23
|
rcsb_embedding_model/utils/structure_parser.py,sha256=IWMQ8brlEMe6_ND-DBESOli8vlqHxladTssjbM9RSKw,2751
|
|
24
24
|
rcsb_embedding_model/utils/structure_provider.py,sha256=eWtxjkPpmRfmil_DKR1J6miaXR3lQ28DF5O0qrqSgGA,786
|
|
25
25
|
rcsb_embedding_model/writer/batch_writer.py,sha256=rTFNasB0Xp4-XCNTXKeEWZxSrb7lvZytoRldJUWn9Jg,3312
|
|
26
|
-
rcsb_embedding_model-0.0.
|
|
27
|
-
rcsb_embedding_model-0.0.
|
|
28
|
-
rcsb_embedding_model-0.0.
|
|
29
|
-
rcsb_embedding_model-0.0.
|
|
30
|
-
rcsb_embedding_model-0.0.
|
|
26
|
+
rcsb_embedding_model-0.0.23.dist-info/METADATA,sha256=gBdBfyHb621lPl3R7-2dpmc8A093pOHgRHym2NNilK4,5310
|
|
27
|
+
rcsb_embedding_model-0.0.23.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
28
|
+
rcsb_embedding_model-0.0.23.dist-info/entry_points.txt,sha256=MK11jTIEmaV-x4CkPX5IymDaVs7Ky_f2xxU8BJVZ_9Q,69
|
|
29
|
+
rcsb_embedding_model-0.0.23.dist-info/licenses/LICENSE.md,sha256=oUaHiKgfBkChth_Sm67WemEvatO1U0Go8LHjaskXY0w,1522
|
|
30
|
+
rcsb_embedding_model-0.0.23.dist-info/RECORD,,
|
|
File without changes
|
{rcsb_embedding_model-0.0.22.dist-info → rcsb_embedding_model-0.0.23.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{rcsb_embedding_model-0.0.22.dist-info → rcsb_embedding_model-0.0.23.dist-info}/licenses/LICENSE.md
RENAMED
|
File without changes
|