diff --git a/AmpScan/core.py b/AmpScan/core.py index 88a1c2163432f19eeeb12e727f8adbfc832630d6..cd4d30d96bb7aefec7fb7325ddf569bf2e2c29c7 100644 --- a/AmpScan/core.py +++ b/AmpScan/core.py @@ -48,6 +48,8 @@ class AmpObject(trimMixin, smoothMixin, analyseMixin, if isinstance(data, str): if stype == 'FE': self.addFE([data,]) + elif stype == 'surrogate': + self.addSurrogate(data) else: self.read_stl(data, unify, struc) elif isinstance(data, dict):