Skip to content

petab1to2: keep the changes of each condition together - #637

Open
dweindl wants to merge 1 commit into
PEtab-dev:mainfrom
dweindl:petab1to2-condition-order
Open

dweindl wants to merge 1 commit into
PEtab-dev:mainfrom
dweindl:petab1to2-condition-order

Conversation

@dweindl

@dweindl dweindl commented Nov 26, 2026

Copy link
Copy Markdown
Member

petab1to2 created the PEtab v2 condition table from the v1 condition table via melt, which produced the rows column by column. So the changes of one condition were spread over the whole table. Now, the changes of each condition are written as contiguous rows, in the order of the v1 condition table rows and, within a condition, of the v1 columns.

For the problems in the benchmark collection, only the row order of the written conditions.tsv changes; the loaded problems are unchanged.

🤖 Generated with Claude Code

`melt` produced the v2 condition table column by column, so the changes
of a condition were spread over the whole table. Now, they are
contiguous, in the order of the v1 rows, and, within a condition, of the
v1 columns.

For the benchmark problems, only the row order of `conditions.tsv`
changes; the loaded problems are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dweindl dweindl self-assigned this Nov 26, 2026
@codecov-commenter

codecov-commenter commented Nov 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.34%. Comparing base (bacc686) to head (e78fde4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #637   +/-   ##
=======================================
  Coverage   80.34%   80.34%           
=======================================
  Files          70       70           
  Lines        8505     8506    +1     
  Branches     1561     1561           
=======================================
+ Hits         6833     6834    +1     
  Misses       1180     1180           
  Partials      492      492           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dweindl
dweindl force-pushed the petab1to2-condition-order branch from c31d9c1 to e78fde4 Compare November 26, 2026 14:50
@dweindl
dweindl marked this pull request as ready for review November 26, 2026 14:55
@dweindl
dweindl requested a review from a team as a code owner November 26, 2026 14:55

This branch has not been deployed

No deployments
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.

2 participants