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

Removed steady-state function and using ospsuite.parameteridentification #261

Merged
merged 8 commits into from
Jun 7, 2022

Conversation

PavelBal
Copy link
Member

@PavelBal PavelBal commented Jun 7, 2022

Fixes #26

@PavelBal PavelBal requested a review from IndrajeetPatil June 7, 2022 14:28
NAMESPACE Outdated Show resolved Hide resolved
NEWS.md Outdated Show resolved Hide resolved
R/esqlabs-env.R Outdated Show resolved Hide resolved
R/utilities-figures.R Show resolved Hide resolved
man/esqLabsRSettingNames.Rd Outdated Show resolved Hide resolved
R/utilities-steady-state.R Show resolved Hide resolved
appveyor.yml Outdated Show resolved Hide resolved
R/esqlabs-env.R Outdated
@@ -31,8 +35,8 @@ esqlabsEnv$heightPerPlotMapping <- 8
#' getEsqlabsRSetting("packageVersion")
Copy link
Contributor

Choose a reason for hiding this comment

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

This example doesn't work.

> getEsqlabsRSetting("packageVersion")
Error in getEsqlabsRSetting("packageVersion") : 
  object 'ospsuiteEnv' not found

Is this a copy-paste error? Shouldn't ospsuiteEnv be esqlabsEnv in the code below?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yepp, copy-paste error. All checks passing now.

@codecov-commenter
Copy link

Codecov Report

Merging #261 (470f8f9) into develop (6482e07) will increase coverage by 2.07%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop     #261      +/-   ##
===========================================
+ Coverage    47.45%   49.53%   +2.07%     
===========================================
  Files           24       24              
  Lines         1121     1074      -47     
===========================================
  Hits           532      532              
+ Misses         589      542      -47     
Impacted Files Coverage Δ
R/esqlabs-env.R 0.00% <0.00%> (ø)
R/utilities-figures.R 74.19% <0.00%> (-11.00%) ⬇️
R/utilities-simulation.R 0.00% <ø> (ø)
R/utilities-steady-state.R 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6482e07...470f8f9. Read the comment docs.

@PavelBal PavelBal requested a review from IndrajeetPatil June 7, 2022 16:51
@IndrajeetPatil IndrajeetPatil merged commit 1049329 into develop Jun 7, 2022
@IndrajeetPatil IndrajeetPatil deleted the steady-state-from-pi branch June 7, 2022 16:55
PavelBal added a commit that referenced this pull request Sep 26, 2022
* Create V4  (#255)

* - Update data-handling vignette
- Function `loadObservedData()` requires a `ProjectConfiguration` instead of a
`ScenarioConfiguration`.

* Remove unused vignettes

* Update AppVeyor to R4.2.0

* Increment version to v4.0.0

* Cleanup for v4

* Update website

* Update reference index

* Removed steady-state function and using ospsuite.parameteridentification (#261)

* Removed steady-state function and using ospsuite.parameteridentification

* Update NEWS.md

Co-authored-by: Indrajeet Patil <[email protected]>

* Removed unused message

* Update documentation

* Update appveyor.yml

* Fix examples

Co-authored-by: Indrajeet Patil <[email protected]>

* Add functions to create plotting-related configs (#265)

- [x] Closes #262
- [x] Closes #263
- [x] Closes #264
- [x] Closes #225
- [x] docs and NEWS
- [x] tests

* Following guidelines for internal function names (#266)

* Added simulationRunOptions parameter (#268)

* Added simulationRunOptions parameter

* Remove `hash` from imports
Adds `stringr` and `labeling` to imports
Remove "return" from an empty switch statement
Missing documented arguments

* Update to roxygen2 7.2.1 (#273)

* Update to roxygen2 7.2.1

* .rd files

* Update exportSteadyStateToXLS.Rd

* Don't write to sheets when there is no data (#274)

Closes #272

* SensitivityAnalysis - use "by path" methods (#271)

* Use unlist

* Assign condition to a variable

* Skipping tests that rely on PK-Sim

* fix `createEsqlabsPlotConfiguration()`

Co-authored-by: Indrajeet Patil <[email protected]>

* Follow coding convention for source code filenames (#275)

* remove empty section from reference page

* Fix failing sensitivity-calculation after ospsuite update (#278)

* Fix failing sensitivity-calculation after ospsuite update

* Update rd

* Add tests for utilities (#280)

* Add tests for file utilities

* snapshot paths have changed?

* skip for now

* try

* problematic test?

* Update test-utilities-file.R

* Update test-utilities-file.R

* Update test-utilities-file.R

* Test for `compareWithNA()`

* rudimentary test for `ScenarioConfiguration`

* Don't skip tests on CI anymore (#283)

* Update README (#282)

* Update README

Closes #281

* Update README.md

* Tests for color utilities and global settings (#285)

* Tests for color utilities

* tests for global settings

* Use functions for error messages

* Additional tests for utilities (#287)

* Additional tests for utilities

* test for `compareSimulationParameters()`

* tweak tests for settings

* Test for `sampleRandomValue()`

* Address review comments

* remove `expect_s3_class()` for R6

* Extract applications (#288)

* - Add a function `getAllApplicationParameters` that returns all parameters of applications in a simulation
- Add a function `exportParametersToXLS` to write parameter information into an excel file that can be loaded in MoBi or R
- Add a function `writeExcel` that is a wrapper for creating a directory (if not present) and writing to excel file

* Update documentation

* Update R/utilities-simulation.R

Co-authored-by: Indrajeet Patil <[email protected]>

* Update R/utilities-parameters.R

Co-authored-by: Indrajeet Patil <[email protected]>

* Address review comments

* Update required R version

* Update NEWS

Co-authored-by: Indrajeet Patil <[email protected]>

* Tests for shiny apps (#290)

* Get rid of a few lints (#291)

* also not used

* - Add default project configuration file (#293)

- Fix documentation for the simulationTime argument of ScenarioConfiguration
- Fix example for setParameterValuesByPathWithCondition
- If simulation time is not defined in the ScenarioConfiguration, use output time schema from the simulation

* More tests for utilities (#294)

* More tests for utilities

* use github version

* skip for now

* Test for `executeInParallel()`

* Try shipping binary

* Revert "Try shipping binary"

This reverts commit 72dda5d.

* Update documentation (#298)

* More tests for scenario config (#296)

* more tests for scenario config

* to shut up codecov

* Get rid of `.getNetHashCode()`

Closes #297

* Added example project

* Add logo for the package (#299)

Stickers are big in the R community, and a good way to market ourselves at conferences and meetings. Print them, and distribute them, so that people can put them on their laptops.

cc @StephanSchaller

* - Remove unused test files
- Styler

* Delete modeling_environment.R

unneeded for the esqlabsR purposes

* Documenting data handling and running simulations (#301)

* Updated the introduction part of the vignette

* Data handling vignette

* Vignette on running simulations

* Propagated vignette updates to the /docs folder

* Updated links to the scenario file to avoid duplicated files

* style

* style changes to vignettes/data-handling.Rmd

Co-authored-by: Indrajeet Patil <[email protected]>

* Restored _snaps files that were mistakenly removed

* wording in introduction

Co-authored-by: Pavel Balazki <[email protected]>

* link to aciclovir model

Co-authored-by: Pavel Balazki <[email protected]>

* Removed function reference, moved installation and contribution to README.md only

* style changes README.md

Co-authored-by: Indrajeet Patil <[email protected]>

* Removed auto-generated testthat file

* Update vignettes/introduction-esqlabsr.Rmd

* Changes to data-handling.Rmd

Co-authored-by: Indrajeet Patil <[email protected]>
Co-authored-by: Pavel Balazki <[email protected]>

* Better explanation of the configuration Excel files

* Restructuring of existing documentation, a clear description of no-code approach

* Run tests for Shiny apps (#303)

* Simulations vignette with references to all configuration files and first lines of output

* Fixed link to the Scenarios.xlsx file

* Visualization vignette

* Sensitivity vignette

* Add getMoleculeNameFromQuantity() (#307)

* Add getMoleculeNameFromQuantity()

* Apply suggestions from code review

Co-authored-by: Indrajeet Patil <[email protected]>

Co-authored-by: Indrajeet Patil <[email protected]>

* Changed plot sizes

* Added troubleshooting sections

* Apply suggestions from code review

style changes

Co-authored-by: Indrajeet Patil <[email protected]>

* Apply suggestions from code review

style changes

Co-authored-by: Indrajeet Patil <[email protected]>

* Renamed chunks to follow style guide

* Added time profiles to sensitivity analysis

* Update vignettes/sensitivity-analysis.Rmd

* Added link to time profiles

* Updated the HTML docs to match the RMD docs (#309)

* Updated the HTML docs to match the RMD docs

* correct typos

Co-authored-by: Indrajeet Patil <[email protected]>

* Suggestions for vignettes (#315)

Co-authored-by: Johanna Eitel <[email protected]>

* Fixes initializeSimulation() when additionalParams is empty but not NULL #313 (#314)

* Added script for installation

* - List for packages that will be installed from CRAN
- Add "purr" explicitly to be installed from CRAN

* - Add jsonlite to be installed

* - Change defaults for `updatePackages` argument to `FALSE`
- Change defaults for `developerVersion` to `TRUE`
- Remove redundant test for PK-Sim connection

* Add vignette for shiny apps (#316)

* Add vignette for shiny apps

* Added header, minor style changes

* Add ShinyApp link to the introduction
Some minor changes to the vignette

Co-authored-by: Johanna Eitel <[email protected]>
Co-authored-by: Sergei Vavilov <[email protected]>
Co-authored-by: Pavel Balazki <[email protected]>

* Update website (#327)

* - Remove RData
- Update readme

* Update docs

Co-authored-by: Indrajeet Patil <[email protected]>
Co-authored-by: Johanna Eitel <[email protected]>
Co-authored-by: Sergei Vavilov <[email protected]>
Co-authored-by: Johanna Eitel <[email protected]>
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.

getSteadyState from ospsuite.parameteridentification
3 participants