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

[fix] foldcomp datasets #382

Merged
merged 3 commits into from
Apr 9, 2024
Merged

[fix] foldcomp datasets #382

merged 3 commits into from
Apr 9, 2024

Conversation

kierandidi
Copy link
Collaborator

Reference Issues/PRs

What does this implement/fix? Explain your changes

Fix foldcomp setup function and update database choices

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

Instantiated a few of these datasets which worked.

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 .

@kierandidi kierandidi self-assigned this Apr 8, 2024
self.train_dataset()
self.val_dataset()
self.test_dataset()
if stage == "fit":
Copy link
Owner

Choose a reason for hiding this comment

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

Can we add a default case when stage=None?

Copy link
Collaborator Author

@kierandidi kierandidi Apr 9, 2024

Choose a reason for hiding this comment

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

Added that case now to be treated the same as the fit stage

Copy link

sonarcloud bot commented Apr 9, 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

@a-r-j a-r-j merged commit 51beb81 into master Apr 9, 2024
29 of 32 checks passed
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.

None yet

2 participants