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

Fix docs and add residual calculation function #345

Merged
merged 9 commits into from
Feb 26, 2020
Merged

Conversation

yannikschaelte
Copy link
Member

No description provided.

@yannikschaelte yannikschaelte self-assigned this Feb 26, 2020
@codecov
Copy link

codecov bot commented Feb 26, 2020

Codecov Report

Merging #345 into develop will increase coverage by 0.23%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #345      +/-   ##
===========================================
+ Coverage    75.91%   76.14%   +0.23%     
===========================================
  Files           22       23       +1     
  Lines         1893     1937      +44     
  Branches       419      428       +9     
===========================================
+ Hits          1437     1475      +38     
- Misses         350      352       +2     
- Partials       106      110       +4     
Impacted Files Coverage Δ
petab/calculate.py 86.04% <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 256af76...dd49389. Read the comment docs.

petab/calculate.py Show resolved Hide resolved
petab/calculate.py Show resolved Hide resolved
petab/calculate.py Outdated Show resolved Hide resolved
petab/calculate.py Outdated Show resolved Hide resolved
petab/calculate.py Show resolved Hide resolved
observable_df = pd.DataFrame(data={
OBSERVABLE_ID: ['obs_a'],
OBSERVABLE_FORMULA: ['A'],
NOISE_FORMULA: [2]
Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe add a test with non-numeric noise_formula?

Copy link
Member Author

Choose a reason for hiding this comment

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

those are currently not yet supported, just numeric replacements

Copy link
Member Author

Choose a reason for hiding this comment

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

addressed in #347

@yannikschaelte yannikschaelte merged commit 1e026f1 into develop Feb 26, 2020
@yannikschaelte yannikschaelte deleted the fix_docs branch February 26, 2020 22:23
@dweindl dweindl mentioned this pull request Feb 28, 2020
dweindl added a commit that referenced this pull request Feb 28, 2020
Release 0.1.3

File format:

* Updated documentation
* Observables table in YAML file now mandatory in schema (was implicitly 
  mandatory before, as observable table was required already)

Library:
* petablint:
  * Fix: allow specifying observables file via CLI (Closes #302)
  * Fix: nominalValue is optional unless estimated!=1 anywhere (Fixes #303)
  * Fix: handle undefined observables more gracefully (Closes #300) (#351)
* Parameter mapping: 
  * Fix / refactor parameter mapping (breaking change) (#344)
    (now performing parameter value and scale mapping together)
  * check optional measurement cols in mapping (#350)
* allow calculating llhs (#349), chi2 values (#348) and residuals (#345)
* Visualization
  * Basic Scatterplots & lot of bar plot fixes (#270)
  * Fix incorrect length of bool `bool_preequ` when subsetting with ind_meas 
    (Closes #322)
* make libcombine optional (#338)
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