diff --git a/tofu/imas2tofu/_core.py b/tofu/imas2tofu/_core.py index 4615d0180..2a73d5be6 100644 --- a/tofu/imas2tofu/_core.py +++ b/tofu/imas2tofu/_core.py @@ -1425,9 +1425,9 @@ def _checkformat_ids(self, ids, occ=None, idd=None, isget=None, isgeti = np.zeros((nocc,), dtype=bool) if dids[lids[ii]]['ids'] is not None: if isget is None: - isgeti = False + isgeti = np.r_[False] elif type(isget) is bool: - isgeti = bool(isget) + isgeti = np.r_[bool(isget)] elif hasattr(isget,'__iter__'): if len(isget) == nids: isgeti = np.r_[isget[ii]]