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

Export to snapshot. Sometimes, the FontAndSize objects of plots is undefined #2162

Closed
msevestre opened this issue Apr 2, 2022 · 1 comment

Comments

@msevestre
Copy link
Member

image

/cc @Yuri05 @pchelle @abdullahhamadeh

The difference is that this plot is a population plot and not a time profile plot

@msevestre
Copy link
Member Author

@Yuri05 This is because of this
https://github.com/Open-Systems-Pharmacology/PK-Sim/blob/develop/src/PKSim.Core/Snapshots/Mappers/ChartMapper.cs#L12

We only export ChartSettings and FontAndSize if they have changed from default. Maybe we should not do this and always export? At the time, it was not meant to be read outside of PK-Sim. I think this is some optimization that probably does not make sense anymore
Thouights?

msevestre added a commit that referenced this issue Apr 2, 2022
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

No branches or pull requests

1 participant