TheJacksonLaboratory / LIRICAL

LIkelihood Ratio Interpretation of Clinical AbnormaLities
https://thejacksonlaboratory.github.io/LIRICAL/stable
Other
22 stars 11 forks source link

Rework configuration and analysis options #594

Closed ielis closed 1 year ago

ielis commented 1 year ago

Rework configuration and AnalysisOptions to parameterize the analysis better.

All sample-related options were moved from configuration (LiricalBuilder) to analysis options AnalysisOptions. The APIs are backward compatible to allow transition to the new version, and the code will not break. However, the some functionalities are not present anymore so the analysis will not in fact run without replacing the deprecated LIRICAL methods in the client code with the current methods, and RuntimeExceptions can be expected in the code that previously used to run OK.