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

add costs #80

Merged
merged 14 commits into from
Mar 20, 2019
Merged

add costs #80

merged 14 commits into from
Mar 20, 2019

Conversation

yannikschaelte
Copy link
Member

No description provided.

@codecov-io
Copy link

codecov-io commented Mar 19, 2019

Codecov Report

Merging #80 into develop will decrease coverage by 0.94%.
The diff coverage is 40%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #80      +/-   ##
===========================================
- Coverage    60.03%   59.08%   -0.95%     
===========================================
  Files            5        5              
  Lines          603      633      +30     
  Branches       128      137       +9     
===========================================
+ Hits           362      374      +12     
- Misses         217      231      +14     
- Partials        24       28       +4
Impacted Files Coverage Δ
petab/core.py 70.83% <15.38%> (-2.42%) ⬇️
petab/lint.py 42.07% <58.82%> (+1.53%) ⬆️

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 d6643f0...b825313. Read the comment docs.

petab/core.py Outdated

# read noise distributions from measurement file

grouping_cols = [col for col in
Copy link
Member

Choose a reason for hiding this comment

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

Need to check for all-NaN, otherwise grouping will fail

Copy link
Member

Choose a reason for hiding this comment

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

use core.get_notnull_columns

petab/lint.py Outdated
@@ -220,6 +219,7 @@ def measurement_table_has_timepoint_specific_mappings(measurement_df):
grouped_df2 = grouped_df.groupby(grouping_cols).size().reset_index()

if len(grouped_df.index) != len(grouped_df2.index):
logger.warn(grouped_df)
Copy link
Member

Choose a reason for hiding this comment

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

This should come with a message, not?

Check whether there are not multiple noise distributions for an
observable, and that the names are correct.
"""
df = measurement_df.copy()
Copy link
Member

Choose a reason for hiding this comment

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

Should also check for valid values, not only for uniqueness?

@yannikschaelte yannikschaelte merged commit 56f17ac into develop Mar 20, 2019
@yannikschaelte yannikschaelte deleted the feature_obs_scale branch March 20, 2019 13:48
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

3 participants