RNApolis 0.10.0__py3-none-any.whl → 0.10.1__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.
rnapolis/parser.py CHANGED
@@ -18,6 +18,9 @@ def read_3d_structure(
18
18
  atoms, modified, sequence_by_entity, is_nucleic_acid_by_entity = (
19
19
  parse_cif(cif_or_pdb) if is_cif(cif_or_pdb) else parse_pdb(cif_or_pdb)
20
20
  )
21
+ if not atoms:
22
+ logger.warning("No atoms parsed from file, returning empty Structure3D.")
23
+ return Structure3D([])
21
24
  available_models = {atom.model: None for atom in atoms}
22
25
  atoms_by_model = {
23
26
  model: list(filter(lambda atom: atom.model == model, atoms))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: RNApolis
3
- Version: 0.10.0
3
+ Version: 0.10.1
4
4
  Summary: A Python library containing RNA-related bioinformatics functions and classes
5
5
  Home-page: https://github.com/tzok/rnapolis-py
6
6
  Author: Tomasz Zok
@@ -12,7 +12,7 @@ rnapolis/metareader.py,sha256=I1-cXc2YNBPwa3zihAnMTjEsAo79tEKzSmWu5yvN1Pk,2071
12
12
  rnapolis/mmcif_pdbx_v50.dic,sha256=5QFx1ssDaehR4_DQ-tS9VQux262SiLXaqcwmwwejF5c,5744659
13
13
  rnapolis/molecule_filter.py,sha256=jgcpJxx_oXEBX0d30v4k_FdwRouRUPUsEtCYWgLGpD4,7310
14
14
  rnapolis/motif_extractor.py,sha256=Lfn1iEkhkP9eZD3GPEWNAfy00QO7QPCc8wM_XS1ory8,1147
15
- rnapolis/parser.py,sha256=k_OS-AsTkxJ8n-dfq0Qyjsvg4jQtEvvRrOCyaN5cRE0,16469
15
+ rnapolis/parser.py,sha256=hdcBSyX-CJTVPeLy7h9aKlGLmVwLo73T-Tvi3ivqO-0,16600
16
16
  rnapolis/parser_v2.py,sha256=qG6CO3or7zmuJu368g9Nzokiqdeip4yjD14F163uH6w,40618
17
17
  rnapolis/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  rnapolis/rfam_folder.py,sha256=SjiiyML_T1__saruFwSMJEoQ7Y55GIU8ktS8ZUn5-fw,11111
@@ -22,9 +22,9 @@ rnapolis/tertiary_v2.py,sha256=SgijTv0bPqMJwsMqyQk0O8QAnS2Ozk45vk8igxt9hRs,38001
22
22
  rnapolis/transformer.py,sha256=aC0nBmHHJf5TyLvBIV57Jj3tlwpvHbPo347opfAOlQA,3844
23
23
  rnapolis/unifier.py,sha256=2ge7IB9FdRgzSAiVD39U_ciwtdDJ2fGzf8mUIudbrqY,5820
24
24
  rnapolis/util.py,sha256=IdquFO3PV1_KDqodjupzm0Rqvgy0CeSzxGHaGEHYXVU,543
25
- rnapolis-0.10.0.dist-info/licenses/LICENSE,sha256=ZGRu12MzCgbYA-Lt8MyBlmjvPZh7xfiD5u5wBx0enq4,1066
26
- rnapolis-0.10.0.dist-info/METADATA,sha256=jWmI7Vjo31d4SRc6F6kPhudPQGHhpufnzWpSY_9rrvk,54611
27
- rnapolis-0.10.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
28
- rnapolis-0.10.0.dist-info/entry_points.txt,sha256=MZMWnYBUYnis-zWDmFfuA5yXtU3W5YdQrm5HA5LrkeM,474
29
- rnapolis-0.10.0.dist-info/top_level.txt,sha256=LcO18koxZcWoJ21KDRRRo_tyIbmXL5z61dPitZpy8yc,9
30
- rnapolis-0.10.0.dist-info/RECORD,,
25
+ rnapolis-0.10.1.dist-info/licenses/LICENSE,sha256=ZGRu12MzCgbYA-Lt8MyBlmjvPZh7xfiD5u5wBx0enq4,1066
26
+ rnapolis-0.10.1.dist-info/METADATA,sha256=rjPTfIJ666l8ZmlocJWBO2_5OSem_9r-AyCe-zFR7as,54611
27
+ rnapolis-0.10.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
28
+ rnapolis-0.10.1.dist-info/entry_points.txt,sha256=MZMWnYBUYnis-zWDmFfuA5yXtU3W5YdQrm5HA5LrkeM,474
29
+ rnapolis-0.10.1.dist-info/top_level.txt,sha256=LcO18koxZcWoJ21KDRRRo_tyIbmXL5z61dPitZpy8yc,9
30
+ rnapolis-0.10.1.dist-info/RECORD,,