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 sorting of indices of dataframes for the correct sorting of x-values #430

Merged
merged 7 commits into from
May 12, 2020

Conversation

erikadudki
Copy link
Contributor

@codecov
Copy link

codecov bot commented Apr 21, 2020

Codecov Report

Merging #430 into develop will decrease coverage by 0.03%.
The diff coverage is 66.66%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #430      +/-   ##
===========================================
- Coverage    77.91%   77.88%   -0.04%     
===========================================
  Files           22       22              
  Lines         2205     2211       +6     
  Branches       527      529       +2     
===========================================
+ Hits          1718     1722       +4     
- Misses         362      363       +1     
- Partials       125      126       +1     
Impacted Files Coverage Δ
petab/visualize/plotting_config.py 56.98% <66.66%> (+0.66%) ⬆️

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 fb45348...4f4ec6a. Read the comment docs.

Copy link
Member

@yannikschaelte yannikschaelte left a comment

Choose a reason for hiding this comment

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

fine for me if fine for @plakrisenko @MerktSimon

petab/visualize/plotting_config.py Outdated Show resolved Hide resolved
elif isinstance(conditions, pd.core.series.Series):
conditions.sort_index(inplace=True)
else:
print('strange: conditions object is neither numpy nor '
Copy link
Member

Choose a reason for hiding this comment

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

should this raise an error, i.e. the case never occur? then raise ValueError("Strange: ...")

@yannikschaelte
Copy link
Member

ping @erikadudki

@erikadudki erikadudki merged commit 49cfc71 into develop May 12, 2020
@dweindl dweindl deleted the visu_sorting_xval branch July 15, 2020 14:32
@yannikschaelte yannikschaelte mentioned this pull request Jul 23, 2020
dweindl added a commit that referenced this pull request Sep 21, 2020
Release 0.1.9

Library:

* Allow URL as filenames for YAML files and SBML models (Closes #187) (#459)
* Allow model time in observable formulas (#445)
* Make float parsing from CSV round-trip (#444)
* Validator: Error message for missing IDs, with line numbers. (#467)
* Validator: Detect duplicated observable IDs (#446)
* Some documentation and CI fixes / updates
* Visualization: Add option to save visualization specification (#457)
* Visualization: Column XValue not mandatory anymore (#429)
* Visualization: Add sorting of indices of dataframes for the correct sorting
  of x-values (#430)
* Visualization: Default value for the column x_label in vis_spec (#431)
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