Skip to content
Snippets Groups Projects
Commit dbc4e099 authored by Alexander Rose's avatar Alexander Rose
Browse files

add 'disorder' to uncertainty theme label/description

parent 0a074c8a
Branches
Tags
No related merge requests found
......@@ -13,7 +13,7 @@ import { ThemeDataContext } from '../theme';
import { ColorListName, ColorListOptionsScale } from '../../mol-util/color/lists';
const DefaultUncertaintyColor = Color(0xffff99)
const Description = `Assigns a color based on the uncertainty of an element's position, , e.g. B-factor or RMSF, depending on the data availability and experimental technique.`
const Description = `Assigns a color based on the uncertainty or disorder of an element's position, e.g. B-factor or RMSF, depending on the data availability and experimental technique.`
export const UncertaintyColorThemeParams = {
domain: PD.Interval([0, 100]),
......@@ -63,7 +63,7 @@ export function UncertaintyColorTheme(ctx: ThemeDataContext, props: PD.Values<Un
}
export const UncertaintyColorThemeProvider: ColorTheme.Provider<UncertaintyColorThemeParams> = {
label: 'Uncertainty',
label: 'Uncertainty/Disorder',
factory: UncertaintyColorTheme,
getParams: getUncertaintyColorThemeParams,
defaultValues: PD.getDefaultValues(UncertaintyColorThemeParams),
......
......@@ -10,7 +10,7 @@ import { SizeTheme } from '../size';
import { ParamDefinition as PD } from '../../mol-util/param-definition'
import { ThemeDataContext } from '../../mol-theme/theme';
const Description = `Assigns a size reflecting the uncertainty of an element's position, e.g. B-factor or RMSF, depending on the data availability and experimental technique.`
const Description = `Assigns a size reflecting the uncertainty or disorder of an element's position, e.g. B-factor or RMSF, depending on the data availability and experimental technique.`
export const UncertaintySizeThemeParams = {
bfactorFactor: PD.Numeric(0.1, { min: 0, max: 1, step: 0.01 }),
......@@ -53,7 +53,7 @@ export function UncertaintySizeTheme(ctx: ThemeDataContext, props: PD.Values<Unc
}
export const UncertaintySizeThemeProvider: SizeTheme.Provider<UncertaintySizeThemeParams> = {
label: 'Uncertainty',
label: 'Uncertainty/Disorder',
factory: UncertaintySizeTheme,
getParams: getUncertaintySizeThemeParams,
defaultValues: PD.getDefaultValues(UncertaintySizeThemeParams),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment