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

exposed fill_value to protein_to_pyg function #385

Merged
merged 3 commits into from
Apr 17, 2024
Merged

Conversation

kierandidi
Copy link
Collaborator

@kierandidi kierandidi commented Apr 14, 2024

Reference Issues/PRs

What does this implement/fix? Explain your changes

Exposing the fill_value for atom37 representations to the protein_to_pyg function so that the user can choose this and it is transparent where the value comes from.

What testing did you do to verify the changes in this PR?

Pull Request Checklist

  • Added a note about the modification or contribution to the ./CHANGELOG.md file (if applicable)
  • Added appropriate unit test functions in the ./graphein/tests/* directories (if applicable)
  • Modify documentation in the corresponding Jupyter Notebook under ./notebooks/ (if applicable)
  • Ran python -m py.test tests/ and make sure that all unit tests pass (for small modifications, it might be sufficient to only run the specific test file, e.g., python -m py.test tests/protein/test_graphs.py)
  • Checked for style issues by running black . and isort .

Copy link

sonarcloud bot commented Apr 14, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

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

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.05%. Comparing base (8123f42) to head (2458b68).
Report is 169 commits behind head on master.

❗ Current head 2458b68 differs from pull request most recent head 739cafb. Consider uploading reports for the commit 739cafb to get more accurate results

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #385      +/-   ##
==========================================
+ Coverage   40.27%   45.05%   +4.78%     
==========================================
  Files          48      113      +65     
  Lines        2811     7919    +5108     
==========================================
+ Hits         1132     3568    +2436     
- Misses       1679     4351    +2672     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@a-r-j a-r-j merged commit 4d97378 into master Apr 17, 2024
20 of 32 checks passed
@a-r-j a-r-j deleted the feat/control_fill_value branch July 15, 2024 07:15
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.

3 participants