Skip to content
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

Fixed dssp for local pdbs #172

Merged
merged 1 commit into from
May 16, 2022
Merged

Fixed dssp for local pdbs #172

merged 1 commit into from
May 16, 2022

Conversation

OliverT1
Copy link
Contributor

Fixes #171

Added .pdb file extension when checking for a local copy of protein file in add_dssp_df function. Allows use of local pdb files for calculation of DSSP features.

Tested for local files not found on the PDB, as well as downloaded PDB files.

@OliverT1 OliverT1 changed the title fixed dssp for local pdbs #171 Fixed dssp for local pdbs May 16, 2022
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@a-r-j
Copy link
Owner

a-r-j commented May 16, 2022

Thanks for the PR, Ollie! Will merge once tests pass :)

Copy link
Owner

@a-r-j a-r-j left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@a-r-j a-r-j merged commit 19899bb into a-r-j:master May 16, 2022
@OliverT1 OliverT1 deleted the hotfix/issue-171 branch May 17, 2022 08:03
avivko added a commit to avivko/graphein that referenced this pull request May 22, 2022
@avivko avivko mentioned this pull request May 22, 2022
a-r-j pushed a commit that referenced this pull request May 23, 2022
* adds node name to hover

* fixes relative paths (threw errors before)

* refactored protein graphs to always have as params: name, pdb_code, pdb_path. Also fixes #171, which was not properly fixed by #172

* fixed notebook execution failure, ran black, fixed docstring

* adds test for PR #176: dssp with pdb code or local pdb

* ran black, added notebook show_edges visualization, added myself to CONTRIBUTORS.md

* dssp now reconstructs a pdb instead of downloading one if none available. pdb_dir default changed to /tmp

* re-ran black

* fixed tmp security issue. Updated changelog.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

local pdb + dssp = error
2 participants