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

Remove editable annotations #162

Merged
merged 6 commits into from
Jan 28, 2025
Merged

Remove editable annotations #162

merged 6 commits into from
Jan 28, 2025

Conversation

ndaelman-hu
Copy link
Collaborator

Aside from removing editable quantities, this PR also removes redundant normalizers

closes #161

@ndaelman-hu ndaelman-hu added the bug Something isn't working label Jan 24, 2025
@ndaelman-hu ndaelman-hu self-assigned this Jan 24, 2025
- Remove 2 extra editable annotations
@coveralls
Copy link

Pull Request Test Coverage Report for Build 12952648342

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.9%) to 81.039%

Totals Coverage Status
Change from base Build 12272374018: 0.9%
Covered Lines: 2013
Relevant Lines: 2484

💛 - Coveralls

@ndaelman-hu
Copy link
Collaborator Author

@JFRudzinski let me know if I should invite somebody else to review

Copy link
Collaborator

@JFRudzinski JFRudzinski left a comment

Choose a reason for hiding this comment

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

Looks good, thank you @ndaelman-hu !

I guess the normalize function with super().normalize is a part of the parent classes through inheritance, so they are automatically included, is that right?

@ndaelman-hu
Copy link
Collaborator Author

Looks good, thank you @ndaelman-hu !

I guess the normalize function with super().normalize is a part of the parent classes through inheritance, so they are automatically included, is that right?

Indeed, that's standard behaviour in OOP, and NOMAD does not modify this. Unless you overwrite it: self.normalize = super().normalize

@ndaelman-hu ndaelman-hu merged commit fe81d97 into develop Jan 28, 2025
7 checks passed
@ndaelman-hu ndaelman-hu deleted the clean_schema branch January 28, 2025 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove Str Edit Quantities from schema
3 participants