Commit b2dbd107 authored by payno's avatar payno

[gui][XASObjectViewer] remove assert typo

parent 578da7f5
......@@ -414,7 +414,6 @@ def _plot_norm(obj, **kwargs):
_CurveOperation(, y=mean+std, baseline=mean-std, color=COLOR_STD,
legend='std norm', alpha=0.5))
elif isinstance(obj, Spectrum):
assert obj.normalized_mu is not None
if obj.normalized_mu is None:
_logger.error('norm has not been computed yet')
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment