Commit efd4be28 authored by payno's avatar payno

[fix typo, Group from larch is now LarchGroup]

parent 970b1cef
...@@ -942,7 +942,7 @@ class Spectrum(_Spectrum_Base): ...@@ -942,7 +942,7 @@ class Spectrum(_Spectrum_Base):
res = {} res = {}
res['_larch_grp_members'] = list(self._members().keys()) res['_larch_grp_members'] = list(self._members().keys())
for key in self._members().keys(): for key in self._members().keys():
if isinstance(self[key], Group): if isinstance(self[key], LarchGroup):
res[key] = larchutils.group_to_dict(self[key]) res[key] = larchutils.group_to_dict(self[key])
else: else:
res[key] = getattr(self, key) res[key] = getattr(self, key)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment