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

New Quantity 'EnzymeActivity' and units "U/mL" #1401

Closed
rogerfydp opened this issue Jul 2, 2024 · 1 comment
Closed

New Quantity 'EnzymeActivity' and units "U/mL" #1401

rogerfydp opened this issue Jul 2, 2024 · 1 comment

Comments

@rogerfydp
Copy link

Is your feature request related to a problem? Please describe.
Within existing library we could not find a quantity/unit suitable for "EnzymeActivity".

Describe the solution you'd like
"Units/mL" (units per millilitre) specifically measures the enzyme activity, representing the amount of enzyme that catalyses the conversion of one micromole (µmol) of substrate per minute (see Enzyme unit), present in one millilitre of solution. The unit “U/mL” is often used, where U is summarizing µmol/minute. It would be beneficial to add a new quantity called " EnzymeActivity" to include Units per millilitre (Units/mL) such as:

  • U/mL (Units/mL) - used to describe enzyme activity
  • mU/mL (milliUnits/mL) - Used for lower enzyme activity
  • µU/mL (microUnit/mL) - Used for much lower enzyme activity

Describe alternatives you've considered
While MassConcentration and VolumeConcentration exist, I don't believe these fit as U is describing a rate, not volume or mass.

We've seen a similar issue opened "Insulin concentration" (#1344 ) but we believe with a different scope, as while the units like IU/mL used for insulin concentration do measure biological activity, they are specifically calibrated per substance and cannot be universally applied or converted to other types of measurements without specific biological context. Each biological unit (e.g., insulin units) is standardized differently based on the biological effect, which does not translate to enzyme activity where the standardization is based on catalytic transformation rates.

@angularsen
Copy link
Owner

This is not a good fit for UnitsNet unfortunately.

  1. Too narrow / domain specific
  2. There are almost infinite variations of Unit X per Unit Y and each requires a new quantity with a bunch of generated code increasing the binary size, so it does not scale well in UnitsNet's architecture

At this point I will close this as not planned.

Maybe in the future if we can solve breaking up UnitsNet into modular pieces, we can revisit. However it does not seem straight forward.

@angularsen angularsen closed this as not planned Won't fix, can't repro, duplicate, stale Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants