Repository navigation
Update HDF5AnnData to use common validation function - #79
Merged
Merged
Conversation
rcannood
approved these changes
May 10, 2023
rcannood
requested changes
May 10, 2023
rcannood
left a comment
Member
There was a problem hiding this comment.
Please fix linting issues ;)
Warning: file=R/AbstractAnnData.R,line=184,col=71,[trailing_whitespace_linter] Trailing whitespace is superfluous.
Warning: file=R/AbstractAnnData.R,line=187,col=1,[trailing_whitespace_linter] Trailing whitespace is superfluous.
Warning: file=R/AbstractAnnData.R,line=191,col=1,[trailing_whitespace_linter] Trailing whitespace is superfluous.
Warning: file=R/AbstractAnnData.R,line=193,col=23,[function_left_parentheses_linter] Remove spaces before the left parenthesis in a function call.
Warning: file=R/AbstractAnnData.R,line=197,col=1,[trailing_whitespace_linter] Trailing whitespace is superfluous.
Warning: file=R/AbstractAnnData.R,line=202,col=1,[trailing_whitespace_linter] Trailing whitespace is superfluous.
Warning: file=R/AbstractAnnData.R,line=219,col=1,[trailing_whitespace_linter] Trailing whitespace is superfluous.
Warning: file=R/AbstractAnnData.R,line=220,col=20,[function_left_parentheses_linter] Remove spaces before the left parenthesis in a function call.
Warning: file=R/AbstractAnnData.R,line=224,col=1,[trailing_whitespace_linter] Trailing whitespace is superfluous.
Warning: file=R/HDF5AnnData.R,line=58,col=66,[trailing_whitespace_linter] Trailing whitespace is superfluous.
Collaborator
Author
Done. I blame RStudio, for some reason it isn't stripping whitespace properly and {lintr} doesn't like the snippet for |
rcannood
requested changes
May 10, 2023
rcannood
left a comment
Member
There was a problem hiding this comment.
Please fix linting issues 😊
Warning: file=R/AbstractAnnData.R,line=221,col=20,[function_left_parentheses_linter] Remove spaces before the left parenthesis in a function call.
Warning: file=R/HDF5AnnData.R,line=58,col=66,[trailing_whitespace_linter] Trailing whitespace is superfluous.
Member
|
( I think you can use |
rcannood
approved these changes
May 11, 2023
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Related to #52
Also modifies them to:
self$n_obs()/self$n_vars()methods.validate_obsvar_dataframe()