Skip to content

No mathrm pascals as non latex units, another fallthrough for variable scaler#175

Merged
markusbattarbee merged 2 commits intofmihpc:masterfrom
alhom:no_mathrm_pascals_as_non_latex_units
Sep 22, 2022
Merged

No mathrm pascals as non latex units, another fallthrough for variable scaler#175
markusbattarbee merged 2 commits intofmihpc:masterfrom
alhom:no_mathrm_pascals_as_non_latex_units

Conversation

@alhom
Copy link
Copy Markdown
Member

@alhom alhom commented Sep 21, 2022

Re: problem with missing \mathrm{Pa} units in dict - datareducers use \mathrm{Pa} for pressure units (while there is a latexunits separately). Homogenized this to match other reducres, and added a fallthrough for variable scaler so it will still scale if needed (will complain though).

…lar strings, except for pressure variables, that had a LaTeX mathrm wrapper. VariableInfo.latexunits is a thing, so no reason for latex in the unit string. Conflicts with the variable scaler.
@markusbattarbee markusbattarbee merged commit 3081b13 into fmihpc:master Sep 22, 2022
@alhom alhom deleted the no_mathrm_pascals_as_non_latex_units branch September 23, 2022 06:53
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