-
Notifications
You must be signed in to change notification settings - Fork 4
ENM Base class #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
stratixs
wants to merge
63
commits into
biotite-dev:master
Choose a base branch
from
stratixs:base-class
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
ENM Base class #22
Changes from all commits
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
af31ef6
Update dependencies
68a6091
Add type information
1a4fc94
Add ENM base class
561496c
Eigenvalues and -vectors as class attributes
f68114f
Moved shared nma calls into ENM base class
4e6e697
Move adjacency calculation into ENM base class and Kirchhoff/Hessian
cdb82a3
Make ENM.eigen() be able to return number of zero eigenvalues
ea615ae
Boost test coverage for GNM and ANM
364f1a8
Make ForceField updatable
46a97f1
Fix ForceField test
aabd0c3
Add benchmark dependency
8925369
Fix inverse calculation
53855aa
Merge branch 'base-class' into perturbation
7b5881f
Add covariance perturbation for GNM
24a2be6
Fix covariance perturbation
c4d4a00
Restructure covariance perturbation
b658ad7
Further covariance perturbation restructuring and optimization
460417e
Initial ANM covariance perturbation
39d2795
Add cython setup for eigenvalue perturbation
c6ecc33
Sync changes with branches
077f84c
Use covariance matrix for msqf if available
fb18abf
ANM msqf tests
8c248d8
Add frequency perturbation
bc36226
Generalize modify_contact algorithm
6c9c060
Merge branch eigen-perturbation into perturbation; update to covariance
09dacde
Rework modify_atom
16708de
Merge branch 'perturbation' into base-class; upstream changes
0a6d5b1
Merge branch 'base-class' into perturbation; mean square fluctuation
01657f1
revert changes to interaction calculation
4443f9d
Make enm.eigen() return nb of zero eigenvalues instead of zero mask
435ddb7
Streamline msqf calculation and use covariance if possible
2f060f2
Merge branch 'base-class' into perturbation; eigen and msqf update
89ddfde
Fix tests
c5c0ea5
Interaction with higher precision and ForceField test with .cif file
fd55216
Remove duplicate test data
34db29e
Add msqf and bfactor one-rank perturbation
7330be5
Merge branch 'perturbation' into eigen-perturbation
99616d8
Add frequency perturbation
eb30109
Change functions names from '_pert' to _chng'
b341dfb
Add msqf and bfactor algorithm for subsets
9263a14
Rework dcc calculation and add dcc one-rank update
b6b0135
Function and variable renaming
1db6a98
Docstring corrections
872902b
Docstring overhaul
5c28bee
Update README and advanced documentation
7899877
github actions update
2d91503
Fix doc deploy env
9b15662
Fix githuib workflows
3382454
Workflow fix
80a508c
Update test.yml
a2c3efa
Change build system to hatch
b55a30e
Fix cython args and changes to deploy workflow
8cd643a
Update deploy.yml
46f5248
Update deploy.yml
0d0661b
Remove unnecessary hatch dev env and fix build-docs in deploy workflow
099b8c3
Update deploy.yml
df81110
Finalize deploy workflow
a165ae0
Fix to modify_contact
18e5d2a
Merge branch 'eigen-perturbation' into perturbation; NMA perturbation,
fcbd3b2
Merge branch 'perturbation' into base-class; numpy docstrings and hatch
c51e3d7
Prs test with cif
c87dda2
fix deploy workflow
38456cc
Remove unused import
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,42 +1,38 @@ | ||
| name: Testing Springcraft | ||
|
|
||
| on: [push, pull_request] | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
|
|
||
| jobs: | ||
| lint: | ||
| name: Check code style | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.12" | ||
| - name: Install ruff | ||
| run: pip install ruff==0.5.2 | ||
| - name: Check code formatting | ||
| run: ruff format --diff | ||
| - name: Lint code base | ||
| run: ruff check | ||
| - uses: actions/checkout@v6 | ||
| - uses: actions/setup-python@v6 | ||
| with: | ||
| python-version: "3.12" | ||
| cache: "pip" | ||
| cache-dependency-path: "pyproject.toml" | ||
| - name: Install Hatch | ||
| run: pip install hatch | ||
| - name: Run linting | ||
| run: hatch run lint:run | ||
|
|
||
| test: | ||
| name: Testing | ||
|
|
||
| runs-on: ubuntu-latest | ||
| defaults: | ||
| run: | ||
| shell: bash -l {0} | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: conda-incubator/setup-miniconda@v3 | ||
| - uses: actions/checkout@v6 | ||
| - uses: actions/setup-python@v6 | ||
| with: | ||
| activate-environment: springcraft-dev | ||
| auto-update-conda: true | ||
| python-version: "3.12" | ||
| - name: Installing dependencies | ||
| run: conda install -c conda-forge poetry pytest | ||
| - name: Building distribution | ||
| run: poetry build -f wheel | ||
| - name: Installing distribution | ||
| run: pip install ./dist/*.whl | ||
| cache: "pip" | ||
| cache-dependency-path: "pyproject.toml" | ||
| - name: Install Hatch | ||
| run: pip install hatch | ||
| - name: Testing code | ||
| run: pytest | ||
| run: hatch run test:run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason for this change here?