Commit e9f99c62 authored by An Nguyen's avatar An Nguyen
Browse files

Code format

parent 3986067a
......@@ -508,10 +508,10 @@ export default class Sample extends Element {
return this.convertGramToUnit(this.amount_g, 'mol');
}
//Menge in mmol = Menge (mg) * Reinheit / Molmasse (g/mol)
//Volumen (ml) = Menge (mg) / Dichte (g/ml) / 1000
//Menge (mg) = Volumen (ml) * Dichte (g/ml) * 1000
//Menge (mg) = Menge (mmol) * Molmasse (g/mol) / Reinheit
// Menge in mmol = Menge (mg) * Reinheit / Molmasse (g/mol)
// Volumen (ml) = Menge (mg) / Dichte (g/ml) / 1000
// Menge (mg) = Volumen (ml) * Dichte (g/ml) * 1000
// Menge (mg) = Menge (mmol) * Molmasse (g/mol) / Reinheit
convertGramToUnit(amount_g = 0, unit) {
if(this.contains_residues) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment