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

GEL test bug fixes #9

Merged
merged 14 commits into from
Oct 21, 2020
Merged

GEL test bug fixes #9

merged 14 commits into from
Oct 21, 2020

Conversation

sk-sahu
Copy link
Contributor

@sk-sahu sk-sahu commented Oct 9, 2020

Improvements -

  • Plot theme and colour changed to align with platform
  • Refactor how data-frames being created dynamically
  • Simplified cb_list_cohort() for user to get the complete list along side of default 10

Bug found during testing with GEL data -

  • Use cohort browser API server as base-URL instead of cloudos base-URL (This is how the end points work in GEL at least for now)
  • Now default columns directly come from back-end instead of hard coding them
  • handling of NULL description in cohort in cb_list_cohort()
  • value filter JSON fix

@sk-sahu sk-sahu requested a review from cgpu October 16, 2020 14:12
@sk-sahu sk-sahu marked this pull request as ready for review October 16, 2020 15:31
R/cb_json.R Show resolved Hide resolved
R/cb_plots.R Show resolved Hide resolved
\item{page_number}{Number of page. (Optional) Default - 0}

\item{page_size}{Number of entries in a page. (Optional) Default - 10}
\item{size}{Number of cohort entries from database. (Optional) Default - 10}
}
\value{
A data frame with available cohorts.
Copy link
Contributor

@cgpu cgpu Oct 21, 2020

Choose a reason for hiding this comment

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

Below the png files (sorry for misplacing, cannot comment if binary 😄 )
are they escaping from packagedown building and need to be gitignored or we are good and keeping them for reference in the repo?

eg man/figures/README-unnamed-chunk-10-1.png

Either is fine, only checking if intended.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can keep them. Majority of pkgdown rendered things goes to gh-pages branch. These are used as cache.

ATM these are not big files, But on later point we can remove them.

Copy link
Contributor

@cgpu cgpu 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 to me 👍

Only added 3 notes for the ToDo and a refactoring opportunity. Feel free to squash once you \

  • check comments
  • open issues for 3 bits mentioned above

@sk-sahu sk-sahu mentioned this pull request Oct 21, 2020
@sk-sahu
Copy link
Contributor Author

sk-sahu commented Oct 21, 2020

Thank you @cgpu 🙌 :)

@sk-sahu sk-sahu merged commit 182c6b9 into devel Oct 21, 2020
@sk-sahu sk-sahu deleted the gel-fixes branch October 30, 2020 16:45
sk-sahu added a commit that referenced this pull request Feb 19, 2021
* base url to api server

* plot color aligning with platform

* readme updates with new changes

* always return defualt columns untill and end point is ready from backend

* refactor the dataframe creation

* Unit test data modification

* minor fix

* updates to cohort list function

* handeling null description

* minor fix

* value filter josn create fix

* manuall josn convert with auto_unbox = F

* minor fix

* unit test fixes
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