Skip to content

fix sim when no CMT col in data#56

Merged
roninsightrx merged 2 commits intomainfrom
fix-sim-no-cmt
Jan 8, 2026
Merged

fix sim when no CMT col in data#56
roninsightrx merged 2 commits intomainfrom
fix-sim-no-cmt

Conversation

@roninsightrx
Copy link
Collaborator

@roninsightrx roninsightrx commented Jan 8, 2026

there was an edge that was not covered if

  • an input dataset did not contain a CMT column
  • a model with absorption compartment was used

This resulted in observations being generated with CMT=1 instead of 2, which led to errors. This fix appropriately checks if CMT is available in the dataset. If not, it will attempt to read from the ADVAN using luna::get_obs_compartment().

@roninsightrx roninsightrx merged commit e053d0f into main Jan 8, 2026
2 checks passed
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.

1 participant