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

import api #134

Merged
merged 44 commits into from
Mar 26, 2024
Merged

import api #134

merged 44 commits into from
Mar 26, 2024

Conversation

myushen
Copy link
Contributor

@myushen myushen commented Mar 20, 2024

Create and export get_default_cache_dir, clear_cache functions.
Create an import API designed to verify if the provided input sce object meet the requirements for the CAQ API's functionality.
Fix issue #132

@stemangiola stemangiola requested a review from multimeric March 20, 2024 23:47
Copy link
Collaborator

@multimeric multimeric left a comment

Choose a reason for hiding this comment

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

Nice use of reduce!

Some general tips, which I've also mentioned in the comments are:

  • Avoid :: to keep the style consistent
  • Avoid @ and instead prefer accessor functions

R/counts.R Outdated Show resolved Hide resolved
R/counts.R Outdated Show resolved Hide resolved
R/counts.R Outdated Show resolved Hide resolved
R/utils.R Outdated Show resolved Hide resolved
R/import_metadata_and_counts.R Outdated Show resolved Hide resolved
R/counts_per_million.R Outdated Show resolved Hide resolved
R/counts_per_million.R Outdated Show resolved Hide resolved
R/counts_per_million.R Outdated Show resolved Hide resolved
R/counts_per_million.R Outdated Show resolved Hide resolved
R/counts_per_million.R Outdated Show resolved Hide resolved
Copy link
Collaborator

@multimeric multimeric 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! Good use of accessor functions like assay().

Incidentally I think it would be better to use either assertthat or checkmate for validation and not both. checkmate seems to be more featureful so I wouldn't mind removing assertthat entirely and replacing it with checkmate.

R/counts.R Show resolved Hide resolved
R/utils.R Show resolved Hide resolved
@stemangiola stemangiola merged commit 2e9d487 into stemangiola:master Mar 26, 2024
3 of 4 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.

3 participants