Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
workflow
ewoksapps
est
Commits
8a512d0f
Commit
8a512d0f
authored
Aug 03, 2021
by
payno
Browse files
[process] fix title_latex setter
parent
7b374731
Pipeline
#51929
passed with stages
in 11 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
est/core/process/process.py
View file @
8a512d0f
...
...
@@ -68,6 +68,7 @@ class _NexusSpectrumDef:
self
.
axes
=
axes
self
.
auxiliary_signals
=
auxiliary_signals
self
.
title
=
title
self
.
title_latex
=
title_latex
@
property
def
signal
(
self
):
...
...
@@ -124,6 +125,13 @@ class _NexusSpectrumDef:
def
title_latex
(
self
):
return
self
.
__title_latex
@
title_latex
.
setter
def
title_latex
(
self
,
title
):
if
not
isinstance
(
title
,
(
str
,
type
(
None
))):
raise
TypeError
(
"`title` should be an instance of str or None"
)
else
:
self
.
__title_latex
=
title
class
_NexusDatasetDef
:
"""Util function to define a Nexus plot"""
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment