-
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
Cleanup #167
Cleanup #167
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #167 +/- ##
========================================
Coverage 71.21% 71.21%
========================================
Files 12 12
Lines 1181 1181
Branches 272 272
========================================
Hits 841 841
Misses 290 290
Partials 50 50
Continue to review full report at Codecov.
|
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.
should be fine
@@ -1,7 +1,6 @@ | |||
import numpy as np | |||
import pandas as pd | |||
import petab |
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.
alphabetic ordering + own tools / petab last? very in favor.
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.
yeah
pycharm does the job for you (code -> optimize imports)
@@ -239,7 +241,7 @@ def assert_parameter_estimate_is_boolean(parameter_df): | |||
0 or 1. | |||
""" | |||
for estimate in parameter_df['estimate']: | |||
if not int(estimate) in [True, False]: | |||
if int(estimate) not in [True, False]: |
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.
duh
for i in range(len(unique_noise)): | ||
for j in range(len(unique_sc)): | ||
# Find the position of all instances of unique_noise[i] | ||
for i_noise, cur_noise in enumerate(unique_noise): |
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.
yessssssss
Bring code quality back to A.