forked from IPKM/nmreval
escape backslashes in fit function equation
This commit is contained in:
parent
37a6d789bb
commit
6339bdc2cc
@ -472,7 +472,7 @@ class DescWidget(QtWidgets.QWidget):
|
|||||||
stringi = f'class {self.klass_lineedit.text()}:\n' \
|
stringi = f'class {self.klass_lineedit.text()}:\n' \
|
||||||
f' name = {self.name_lineedit.text()!r}\n' \
|
f' name = {self.name_lineedit.text()!r}\n' \
|
||||||
f' type = {self.group_lineedit.text()!r}\n' \
|
f' type = {self.group_lineedit.text()!r}\n' \
|
||||||
f' equation = {self.eq_lineedit.text()!r}\n'
|
f" equation = r'{self.eq_lineedit.text()}'\n"
|
||||||
|
|
||||||
return stringi
|
return stringi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user