-
Notifications
You must be signed in to change notification settings - Fork 12
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
Release 0.1.2 #311
Release 0.1.2 #311
Conversation
yannikschaelte
commented
Feb 20, 2020
•
edited
Loading
edited
- Extensions and fixes for the visualization functions (Barplot uniform coloring & yScale=log fix #196 #255, Visu callobs par #262)
- Allow to extract fixed|free and scaled|non-scaled parameters (allow to extract only estimate parameters #256, Add properties for fixed/free and scaled values #268, Add functions to get all of fixed|free, scaled parameter values #273)
- Various fixes (esp. petablint fails with only numeric entries in noiseFormula in observable table #264)
- Add function to get observable ids (Observables function #269)
- Improve documentation (esp. Fix format documentation regarding parameter scale #289)
- Set default column for simulation results to 'simulation'
- Add support for COMBINE archives (PEtab COMBINE archive #271)
- Fix sbml observables to table
- Improve prior and dataframe tests (Prior tests #285, Fix prior scales #286, Add tests for petab.measurements.get_simulation_conditions #297)
- Add function to get parameter table with all default values (Feature defaultvalues #288)
- Move tests to github actions (GitHub actions #281)
- Check for valid identifiers
- Fix handling of empty values in dataframes
- Allow to get numeric values in parameter mappings in scaled form (Scaled mappings #308)
* allow to extract only estimate parameters * add docstrings
* fix #261 * corrected flake8 error - line too long * deleted white space * add F403 to falke8 tests
* allow to extract only estimate parameters * add docstrings * return scaled versions of arrays * Update petab/problem.py Co-Authored-By: Daniel Weindl <[email protected]> Co-authored-by: Daniel Weindl <[email protected]>
* allow to extract only estimate parameters * add docstrings * return scaled versions of arrays * Update petab/problem.py Co-Authored-By: Daniel Weindl <[email protected]> * add get_observables function * add observables test; use observables file in petab test * fix typo * move get_observables to ..._ids * remove unused arg * add docstring * fix lint * fix pylint * fix flake8 Co-authored-by: Daniel Weindl <[email protected]>
* allow to extract only estimate parameters * add docstrings * return scaled versions of arrays * Update petab/problem.py Co-Authored-By: Daniel Weindl <[email protected]> * add get_observables function * add observables test; use observables file in petab test * fix typo * move get_observables to ..._ids * remove unused arg * add docstring * fix lint * fix pylint * fix flake8 * fix typo * streamline fixed|free|all, and scaled values * fix default args * fix codacy * address reviewer comment: return empty list * add docstring# * add more docstrings * fix var type error * address reviewer comments Co-authored-by: Daniel Weindl <[email protected]>
* Add create_combine_archive for generation of COMBINE archives * Add support for reading PEtab COMBINE archives * Add tests for COMBINE archive r/w
* allow to extract only estimate parameters * add docstrings * return scaled versions of arrays * Update petab/problem.py Co-Authored-By: Daniel Weindl <[email protected]> * add get_observables function * add observables test; use observables file in petab test * fix typo * move get_observables to ..._ids * remove unused arg * add docstring * fix lint * fix pylint * fix flake8 * fix typo * streamline fixed|free|all, and scaled values * fix default args * fix codacy * address reviewer comment: return empty list * add docstring# * add more docstrings * fix var type error * address reviewer comments * add parameter properties test * add tests for get/write_parameter_df * add measurements tests * add conditions tests * fix conditions create function * add parameter tests * add observables tests * fixup * add docstrings * address reviewer comments * random edit to see if codacy is happy * random stuff to annoy codecov Co-authored-by: Daniel Weindl <[email protected]>
* add test for valid prior parameters * add raising test * fix codacy * random edit to make codacy happy * address reviewer comments
* add test for valid prior parameters * add raising test * cont * fix codacy * fix errors in get_priors_from_df: wrong default scaling and empty values * random edit to make codacy happy * fix merge error * make codacy happy
* init parameter df normalization function * cont * add normalize_parameter_df function * make other dfs optional in check_parameter_df * fixup normalize_parameter_df * add test for normalize_parameter_df; rename test_parameter.py -> test_parameters.py * address reviewer comments and make codacy happy
* Github actions for CI and deployment * Updated links after repository move Co-authored-by: Daniel Weindl <[email protected]>
get_condition_df, get_measurement_df, get_observable_df, get_parameter_df are generalized a bit (#296)
* Add tests for petab.measurements.get_simulation_conditions * Apply suggestions from code review Co-authored-by: Yannik Schälte <[email protected]>
Rows with NaNs in grouped-by columns are dropped. This is generally not what we want.
This reverts commit 95a0f95.
* Fix handling of NaNs in pandas.DataFrame.groupby Rows with NaNs in grouped-by columns are dropped. This is generally not what we want.
* require newer pandas * allow scaled parameter mappings * add test * fix copy error * add scaling to problem function * address reviewer comments
Codecov Report
@@ Coverage Diff @@
## master #311 +/- ##
==========================================
+ Coverage 71.52% 76.63% +5.11%
==========================================
Files 22 22
Lines 1661 1849 +188
Branches 361 411 +50
==========================================
+ Hits 1188 1417 +229
+ Misses 395 329 -66
- Partials 78 103 +25
Continue to review full report at Codecov.
|
* update changelog * fixup * Pylint ignore external packages * make codacy happy * make codacy even happier * FIX * test * test Co-authored-by: Daniel Weindl <[email protected]>
@@ -0,0 +1,95 @@ | |||
"""Test COMBINE archive""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue found: Similar lines in 3 files