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

Release 0.1.2 #311

Merged
merged 28 commits into from
Feb 20, 2020
Merged

Release 0.1.2 #311

merged 28 commits into from
Feb 20, 2020

Conversation

yannikschaelte
Copy link
Member

@yannikschaelte yannikschaelte commented Feb 20, 2020

MerktSimon and others added 27 commits February 6, 2020 10:36
* resolves #197

* small fix

* change all barplot colors to blue
* 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.
* 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
Copy link

codecov bot commented Feb 20, 2020

Codecov Report

Merging #311 into master will increase coverage by 5.11%.
The diff coverage is 82.33%.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
petab/visualize/plot_data_and_simulation.py 69.64% <ø> (ø) ⬆️
petab/visualize/helper_functions.py 89.47% <0%> (-0.53%) ⬇️
petab/migrations.py 0% <0%> (ø) ⬆️
petab/version.py 100% <100%> (ø) ⬆️
petab/yaml.py 86.04% <100%> (+1.04%) ⬆️
petab/C.py 100% <100%> (ø) ⬆️
petab/visualize/plotting_config.py 58.82% <66.66%> (-0.27%) ⬇️
petab/conditions.py 90.47% <73.33%> (+35.93%) ⬆️
petab/observables.py 93.75% <75%> (+64.71%) ⬆️
petab/lint.py 74.19% <78.04%> (+0.5%) ⬆️
... and 12 more

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 8a4461c...8104059. Read the comment docs.

* update changelog

* fixup

* Pylint ignore external packages

* make codacy happy

* make codacy even happier

* FIX

* test

* test

Co-authored-by: Daniel Weindl <[email protected]>
@yannikschaelte yannikschaelte self-assigned this Feb 20, 2020
@@ -0,0 +1,95 @@
"""Test COMBINE archive"""
Copy link
Member

Choose a reason for hiding this comment

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

@dweindl dweindl self-requested a review February 20, 2020 10:30
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.

5 participants