openprotein-python 0.8.6__tar.gz → 0.8.7__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 (85) hide show
  1. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/PKG-INFO +2 -2
  2. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/protein.py +1 -7
  3. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/pyproject.toml +7 -2
  4. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/.gitignore +0 -0
  5. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/LICENSE.txt +0 -0
  6. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/README.md +0 -0
  7. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/__init__.py +0 -0
  8. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/_version.py +0 -0
  9. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/align/__init__.py +0 -0
  10. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/align/align.py +0 -0
  11. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/align/api.py +0 -0
  12. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/align/future.py +0 -0
  13. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/align/msa.py +0 -0
  14. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/align/schemas.py +0 -0
  15. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/base.py +0 -0
  16. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/chains.py +0 -0
  17. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/common/__init__.py +0 -0
  18. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/common/features.py +0 -0
  19. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/common/model_metadata.py +0 -0
  20. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/common/reduction.py +0 -0
  21. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/config.py +0 -0
  22. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/csv.py +0 -0
  23. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/data/__init__.py +0 -0
  24. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/data/api.py +0 -0
  25. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/data/assaydataset.py +0 -0
  26. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/data/data.py +0 -0
  27. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/data/schemas.py +0 -0
  28. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/design/__init__.py +0 -0
  29. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/design/api.py +0 -0
  30. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/design/design.py +0 -0
  31. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/design/future.py +0 -0
  32. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/design/schemas.py +0 -0
  33. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/embeddings/__init__.py +0 -0
  34. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/embeddings/api.py +0 -0
  35. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/embeddings/embeddings.py +0 -0
  36. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/embeddings/esm.py +0 -0
  37. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/embeddings/future.py +0 -0
  38. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/embeddings/models.py +0 -0
  39. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/embeddings/openprotein.py +0 -0
  40. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/embeddings/poet.py +0 -0
  41. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/embeddings/poet2.py +0 -0
  42. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/embeddings/schemas.py +0 -0
  43. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/errors.py +0 -0
  44. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/fasta.py +0 -0
  45. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/fold/__init__.py +0 -0
  46. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/fold/alphafold2.py +0 -0
  47. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/fold/api.py +0 -0
  48. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/fold/boltz.py +0 -0
  49. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/fold/esmfold.py +0 -0
  50. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/fold/fold.py +0 -0
  51. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/fold/future.py +0 -0
  52. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/fold/models.py +0 -0
  53. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/fold/schemas.py +0 -0
  54. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/jobs/__init__.py +0 -0
  55. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/jobs/api.py +0 -0
  56. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/jobs/futures.py +0 -0
  57. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/jobs/jobs.py +0 -0
  58. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/jobs/schemas.py +0 -0
  59. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/models/__init__.py +0 -0
  60. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/models/base.py +0 -0
  61. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/models/foundation/rfdiffusion.py +0 -0
  62. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/models/models.py +0 -0
  63. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/predictor/__init__.py +0 -0
  64. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/predictor/api.py +0 -0
  65. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/predictor/models.py +0 -0
  66. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/predictor/prediction.py +0 -0
  67. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/predictor/predictor.py +0 -0
  68. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/predictor/schemas.py +0 -0
  69. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/predictor/validate.py +0 -0
  70. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/prompt/__init__.py +0 -0
  71. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/prompt/api.py +0 -0
  72. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/prompt/models.py +0 -0
  73. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/prompt/prompt.py +0 -0
  74. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/prompt/schemas.py +0 -0
  75. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/svd/__init__.py +0 -0
  76. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/svd/api.py +0 -0
  77. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/svd/models.py +0 -0
  78. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/svd/schemas.py +0 -0
  79. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/svd/svd.py +0 -0
  80. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/umap/__init__.py +0 -0
  81. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/umap/api.py +0 -0
  82. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/umap/models.py +0 -0
  83. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/umap/schemas.py +0 -0
  84. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/umap/umap.py +0 -0
  85. {openprotein_python-0.8.6 → openprotein_python-0.8.7}/openprotein/utils/uuid.py +0 -0
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: openprotein-python
3
- Version: 0.8.6
3
+ Version: 0.8.7
4
4
  Summary: OpenProtein Python interface.
5
5
  Author-email: Mark Gee <markgee@ne47.bio>, "Timothy Truong Jr." <ttruong@ne47.bio>, Tristan Bepler <tbepler@ne47.bio>
6
6
  License-Expression: MIT
7
7
  License-File: LICENSE.txt
8
8
  Classifier: Development Status :: 4 - Beta
9
9
  Classifier: Programming Language :: Python :: 3
10
- Requires-Python: >=3.10
10
+ Requires-Python: <3.13,>=3.10
11
11
  Requires-Dist: gemmi<0.8,>=0.7.0
12
12
  Requires-Dist: numpy<3,>=1.9
13
13
  Requires-Dist: pandas<3,>=2.2.2
@@ -561,15 +561,9 @@ def _use_bfactor_as_plddt(structure: gemmi.Structure) -> bool:
561
561
  This heuristic decides whether to use B-factor as pLDDT.
562
562
  It uses B-factor as pLDDT when all of the following fields are *not* set:
563
563
  - structure resolution
564
- - _pdbx_database_status.recvd_initial_deposition_date
565
564
  This heuristic may be changed in the future.
566
565
  """
567
- return (structure.resolution == 0.0) and (
568
- structure.make_mmcif_block(
569
- groups=gemmi.MmcifOutputGroups(False, database_status=True)
570
- ).find_value("_pdbx_database_status.recvd_initial_deposition_date")
571
- is None
572
- )
566
+ return structure.resolution == 0.0
573
567
 
574
568
 
575
569
  def calc_rmsd(
@@ -24,7 +24,7 @@ dependencies = [
24
24
  "numpy>=1.9,<3",
25
25
  "gemmi>=0.7.0,<0.8",
26
26
  ]
27
- requires-python = ">=3.10"
27
+ requires-python = ">=3.10,<3.13"
28
28
 
29
29
  [dependency-groups]
30
30
  dev = [
@@ -52,12 +52,17 @@ python = ">=3.10,<3.13"
52
52
  [tool.pixi.feature.dev.tasks]
53
53
  postinstall = "pip install --no-build-isolation --no-deps --disable-pip-version-check -e ."
54
54
  jupyterinstall = "python -m ipykernel install --user --name=openprotein-python"
55
+ build = """
56
+ pixi global install -q --no-progress -e conda-build --expose conda --expose conda-verify --expose conda-build --expose anaconda anaconda-client conda-build conda-verify > /dev/null;
57
+ pixi global install -q --no-progress --expose hatch hatch > /dev/null;
58
+ hatch build; hatch publish; hatch build -t conda
59
+ """
55
60
 
56
61
  [tool.pixi.environments]
57
62
  dev = ["dev"]
58
63
 
59
64
  [build-system]
60
- requires = ["hatchling>=1.26.1", "hatch-vcs>=0.5.0"]
65
+ requires = ["hatchling>=1.26.1", "hatch-vcs>=0.5.0", "hatch-conda-build>=0.1.2"]
61
66
  build-backend = "hatchling.build"
62
67
 
63
68
  [tool.hatch.version]