pidibble 1.3.2__tar.gz → 1.3.3__tar.gz

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.
Files changed (52) hide show
  1. {pidibble-1.3.2 → pidibble-1.3.3}/PKG-INFO +3 -1
  2. {pidibble-1.3.2 → pidibble-1.3.3}/README.md +2 -0
  3. {pidibble-1.3.2 → pidibble-1.3.3}/pidibble/mmcif_parse.py +2 -1
  4. {pidibble-1.3.2 → pidibble-1.3.3}/pyproject.toml +1 -1
  5. {pidibble-1.3.2 → pidibble-1.3.3}/.github/workflows/release.yaml +0 -0
  6. {pidibble-1.3.2 → pidibble-1.3.3}/.gitignore +0 -0
  7. {pidibble-1.3.2 → pidibble-1.3.3}/.readthedocs.yaml +0 -0
  8. {pidibble-1.3.2 → pidibble-1.3.3}/LICENSE +0 -0
  9. {pidibble-1.3.2 → pidibble-1.3.3}/MANIFEST.in +0 -0
  10. {pidibble-1.3.2 → pidibble-1.3.3}/docs/Makefile +0 -0
  11. {pidibble-1.3.2 → pidibble-1.3.3}/docs/make.bat +0 -0
  12. {pidibble-1.3.2 → pidibble-1.3.3}/docs/requirements.txt +0 -0
  13. {pidibble-1.3.2 → pidibble-1.3.3}/docs/source/_static/css/custom.css +0 -0
  14. {pidibble-1.3.2 → pidibble-1.3.3}/docs/source/api/API.rst +0 -0
  15. {pidibble-1.3.2 → pidibble-1.3.3}/docs/source/api/pidibble.baseparsers.rst +0 -0
  16. {pidibble-1.3.2 → pidibble-1.3.3}/docs/source/api/pidibble.baserecord.rst +0 -0
  17. {pidibble-1.3.2 → pidibble-1.3.3}/docs/source/api/pidibble.hex.rst +0 -0
  18. {pidibble-1.3.2 → pidibble-1.3.3}/docs/source/api/pidibble.mmcif_parse.rst +0 -0
  19. {pidibble-1.3.2 → pidibble-1.3.3}/docs/source/api/pidibble.pdbparse.rst +0 -0
  20. {pidibble-1.3.2 → pidibble-1.3.3}/docs/source/api/pidibble.pdbrecord.rst +0 -0
  21. {pidibble-1.3.2 → pidibble-1.3.3}/docs/source/api/pidibble.resources.rst +0 -0
  22. {pidibble-1.3.2 → pidibble-1.3.3}/docs/source/api/pidibble.rst +0 -0
  23. {pidibble-1.3.2 → pidibble-1.3.3}/docs/source/conf.py +0 -0
  24. {pidibble-1.3.2 → pidibble-1.3.3}/docs/source/index.rst +0 -0
  25. {pidibble-1.3.2 → pidibble-1.3.3}/docs/source/installation.rst +0 -0
  26. {pidibble-1.3.2 → pidibble-1.3.3}/docs/source/notes.md +0 -0
  27. {pidibble-1.3.2 → pidibble-1.3.3}/docs/source/usage.rst +0 -0
  28. {pidibble-1.3.2 → pidibble-1.3.3}/pidibble/__init__.py +0 -0
  29. {pidibble-1.3.2 → pidibble-1.3.3}/pidibble/baseparsers.py +0 -0
  30. {pidibble-1.3.2 → pidibble-1.3.3}/pidibble/baserecord.py +0 -0
  31. {pidibble-1.3.2 → pidibble-1.3.3}/pidibble/hex.py +0 -0
  32. {pidibble-1.3.2 → pidibble-1.3.3}/pidibble/pdbparse.py +0 -0
  33. {pidibble-1.3.2 → pidibble-1.3.3}/pidibble/pdbrecord.py +0 -0
  34. {pidibble-1.3.2 → pidibble-1.3.3}/pidibble/resources/__init__.py +0 -0
  35. {pidibble-1.3.2 → pidibble-1.3.3}/pidibble/resources/mmcif_format.yaml +0 -0
  36. {pidibble-1.3.2 → pidibble-1.3.3}/pidibble/resources/pdb_format.yaml +0 -0
  37. {pidibble-1.3.2 → pidibble-1.3.3}/tests/__init__.py +0 -0
  38. {pidibble-1.3.2 → pidibble-1.3.3}/tests/conftest.py +0 -0
  39. {pidibble-1.3.2 → pidibble-1.3.3}/tests/unit/test_hex/my_system.pdb +0 -0
  40. {pidibble-1.3.2 → pidibble-1.3.3}/tests/unit/test_hex.py +0 -0
  41. {pidibble-1.3.2 → pidibble-1.3.3}/tests/unit/test_rcsb/4tvp.cif +0 -0
  42. {pidibble-1.3.2 → pidibble-1.3.3}/tests/unit/test_rcsb/4tvp.pdb +0 -0
  43. {pidibble-1.3.2 → pidibble-1.3.3}/tests/unit/test_rcsb/4zmj-newresnames.pdb +0 -0
  44. {pidibble-1.3.2 → pidibble-1.3.3}/tests/unit/test_rcsb/4zmj.cif +0 -0
  45. {pidibble-1.3.2 → pidibble-1.3.3}/tests/unit/test_rcsb/4zmj.pdb +0 -0
  46. {pidibble-1.3.2 → pidibble-1.3.3}/tests/unit/test_rcsb/6m0j.pdb +0 -0
  47. {pidibble-1.3.2 → pidibble-1.3.3}/tests/unit/test_rcsb/8fae.cif +0 -0
  48. {pidibble-1.3.2 → pidibble-1.3.3}/tests/unit/test_rcsb/G.pdb +0 -0
  49. {pidibble-1.3.2 → pidibble-1.3.3}/tests/unit/test_rcsb/GG.pdb +0 -0
  50. {pidibble-1.3.2 → pidibble-1.3.3}/tests/unit/test_rcsb/test.pdb +0 -0
  51. {pidibble-1.3.2 → pidibble-1.3.3}/tests/unit/test_rcsb/test_pdb_format.yaml +0 -0
  52. {pidibble-1.3.2 → pidibble-1.3.3}/tests/unit/test_rcsb.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pidibble
3
- Version: 1.3.2
3
+ Version: 1.3.3
4
4
  Summary: A complete Protein Data Bank (PDB) file parser
5
5
  Project-URL: Source, https://github.com/cameronabrams/pidibble
6
6
  Project-URL: Documentation, https://pidibble.readthedocs.io/en/latest/
@@ -91,6 +91,8 @@ ATOM
91
91
  ```
92
92
 
93
93
  ## Release History
94
+ * 1.3.3
95
+ * fixed bugs regarding assuming missing records actually present in mmcif parsing
94
96
  * 1.3.2
95
97
  * implemented `filepath` parameter in `PDBParser()` to make
96
98
  reading local files more transparent
@@ -73,6 +73,8 @@ ATOM
73
73
  ```
74
74
 
75
75
  ## Release History
76
+ * 1.3.3
77
+ * fixed bugs regarding assuming missing records actually present in mmcif parsing
76
78
  * 1.3.2
77
79
  * implemented `filepath` parameter in `PDBParser()` to make
78
80
  reading local files more transparent
@@ -214,8 +214,9 @@ class MMCIF_Parser:
214
214
  spawns_on=mapspec.get('spawns_on',None)
215
215
  allcaps=mapspec.get('allcaps',[])
216
216
  if_dot_replace_with=mapspec.get('if_dot_replace_with',{})
217
+ logger.debug(f'getting cifrec for {mapspec["data_obj"]}')
217
218
  cifrec=self.cif_data.getObj(mapspec['data_obj'])
218
- if not tables:
219
+ if not tables and cifrec is not None:
219
220
  for idx in range(len(cifrec)):
220
221
  if not use_signal or (cifrec.getValue(sigattr,idx)==sigval):
221
222
  if global_maps:
@@ -3,7 +3,7 @@ requires = ["hatchling"]
3
3
  build-backend = "hatchling.build"
4
4
  [project]
5
5
  name = "pidibble"
6
- version = "1.3.2"
6
+ version = "1.3.3"
7
7
  authors = [
8
8
  { name="Cameron F Abrams", email="cfa22@drexel.edu" },
9
9
  ]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes