rcsb-embedding-model 0.0.13__tar.gz → 0.0.14__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.
Potentially problematic release.
This version of rcsb-embedding-model might be problematic. Click here for more details.
- rcsb_embedding_model-0.0.14/.github/workflows/publish.yaml +84 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/PKG-INFO +2 -2
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/README.md +1 -1
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/pyproject.toml +1 -1
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/.gitignore +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/LICENSE.md +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/assets/embedding-model-architecture.png +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/examples/esm_embeddings.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/__init__.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/cli/args_utils.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/cli/inference.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/dataset/esm_prot_from_chain.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/dataset/esm_prot_from_structure.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/dataset/resdiue_assembly_embedding_from_structure.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/dataset/residue_assembly_embedding_from_tensor_file.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/dataset/residue_embedding_from_structure.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/dataset/residue_embedding_from_tensor_file.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/inference/assembly_inferece.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/inference/chain_inference.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/inference/esm_inference.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/inference/structure_inference.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/model/layers.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/model/residue_embedding_aggregator.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/modules/chain_module.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/modules/esm_module.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/modules/structure_module.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/rcsb_structure_embedding.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/types/api_types.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/utils/data.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/utils/model.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/utils/structure_parser.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/utils/structure_provider.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/writer/batch_writer.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/tests/resources/embeddings/1acb.A.pt +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/tests/resources/embeddings/1acb.B.pt +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/tests/resources/embeddings/2uzi.A.pt +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/tests/resources/embeddings/2uzi.B.pt +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/tests/resources/embeddings/2uzi.C.pt +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/tests/resources/esm-from-chain-inference.csv +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/tests/resources/pdb/1acb.cif +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/tests/resources/pdb/2uzi.cif +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/tests/test_embedding_model.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/tests/test_inference.py +0 -0
- {rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/tests/test_remote_inference.py +0 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
name: CI Pipeline
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [master]
|
|
6
|
+
tags:
|
|
7
|
+
- 'v*'
|
|
8
|
+
pull_request:
|
|
9
|
+
branches: [master]
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
test:
|
|
13
|
+
name: Test on Python ${{ matrix.python-version }}
|
|
14
|
+
runs-on:
|
|
15
|
+
- "self-hosted"
|
|
16
|
+
timeout-minutes: 20
|
|
17
|
+
strategy:
|
|
18
|
+
matrix:
|
|
19
|
+
python-version: ["3.10"]
|
|
20
|
+
steps:
|
|
21
|
+
- name: Checkout code
|
|
22
|
+
uses: actions/checkout@v4
|
|
23
|
+
|
|
24
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
25
|
+
uses: actions/setup-python@v4
|
|
26
|
+
with:
|
|
27
|
+
python-version: ${{ matrix.python-version }}
|
|
28
|
+
|
|
29
|
+
- name: Install Hatch
|
|
30
|
+
run: pip install hatch huggingface_hub[cli]
|
|
31
|
+
|
|
32
|
+
- name: Authenticate to Hugging Face
|
|
33
|
+
run: huggingface-cli login --token ${{ secrets.HF_API_TOKEN }}
|
|
34
|
+
|
|
35
|
+
- name: Run tests
|
|
36
|
+
run: hatch test
|
|
37
|
+
|
|
38
|
+
build:
|
|
39
|
+
name: Build to PyPI
|
|
40
|
+
needs: test
|
|
41
|
+
runs-on: ubuntu-latest
|
|
42
|
+
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
|
|
43
|
+
steps:
|
|
44
|
+
- name: Checkout code
|
|
45
|
+
uses: actions/checkout@v4
|
|
46
|
+
|
|
47
|
+
- name: Set up Python 3.10
|
|
48
|
+
uses: actions/setup-python@v4
|
|
49
|
+
with:
|
|
50
|
+
python-version: "3.10"
|
|
51
|
+
|
|
52
|
+
- name: Install Hatch
|
|
53
|
+
run: pip install hatch
|
|
54
|
+
|
|
55
|
+
- name: Build distribution
|
|
56
|
+
run: hatch build
|
|
57
|
+
|
|
58
|
+
- name: Store the distribution packages
|
|
59
|
+
uses: actions/upload-artifact@v4
|
|
60
|
+
with:
|
|
61
|
+
name: python-package-distributions
|
|
62
|
+
path: dist/
|
|
63
|
+
|
|
64
|
+
publish-to-pypi:
|
|
65
|
+
name: >-
|
|
66
|
+
Publish Python 🐍 distribution 📦 to PyPI
|
|
67
|
+
# if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
|
|
68
|
+
needs:
|
|
69
|
+
- build
|
|
70
|
+
runs-on: ubuntu-latest
|
|
71
|
+
environment:
|
|
72
|
+
name: pypi
|
|
73
|
+
url: https://pypi.org/p/rcsb-embedding-model # Replace <package-name> with your PyPI project name
|
|
74
|
+
permissions:
|
|
75
|
+
id-token: write
|
|
76
|
+
|
|
77
|
+
steps:
|
|
78
|
+
- name: Download all the dists
|
|
79
|
+
uses: actions/download-artifact@v4
|
|
80
|
+
with:
|
|
81
|
+
name: python-package-distributions
|
|
82
|
+
path: dist/
|
|
83
|
+
- name: Publish distribution 📦 to PyPI
|
|
84
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: rcsb-embedding-model
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.14
|
|
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
|
|
@@ -18,7 +18,7 @@ Description-Content-Type: text/markdown
|
|
|
18
18
|
|
|
19
19
|
# RCSB Embedding Model
|
|
20
20
|
|
|
21
|
-
**Version** 0.0.
|
|
21
|
+
**Version** 0.0.14
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
## Overview
|
|
File without changes
|
|
File without changes
|
{rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/assets/embedding-model-architecture.png
RENAMED
|
File without changes
|
|
File without changes
|
{rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/__init__.py
RENAMED
|
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
|
{rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/model/layers.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/utils/data.py
RENAMED
|
File without changes
|
{rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/src/rcsb_embedding_model/utils/model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/tests/resources/embeddings/1acb.A.pt
RENAMED
|
File without changes
|
{rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/tests/resources/embeddings/1acb.B.pt
RENAMED
|
File without changes
|
{rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/tests/resources/embeddings/2uzi.A.pt
RENAMED
|
File without changes
|
{rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/tests/resources/embeddings/2uzi.B.pt
RENAMED
|
File without changes
|
{rcsb_embedding_model-0.0.13 → rcsb_embedding_model-0.0.14}/tests/resources/embeddings/2uzi.C.pt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|