forked from IPKM/nmreval
set name of fit results manually; fix #138
This commit is contained in:
parent
735896e68d
commit
ae45ff2e55
@ -171,6 +171,9 @@ class FitResult(Points):
|
||||
self._model_name = name
|
||||
self._func = func
|
||||
|
||||
# manually overwrite name to avoid '/' splits
|
||||
self.name = name
|
||||
|
||||
@staticmethod
|
||||
def _prepare_names(parameter: dict, modelname: str):
|
||||
pattern = re.compile(r'(\\?\w[\\\w .-]*(?:_{[\w\\ .-]})?)(\(\d+\))')
|
||||
|
Loading…
Reference in New Issue
Block a user