diff --git a/adi/ad9081_mc.py b/adi/ad9081_mc.py index bb893b21f..3cd887f4b 100644 --- a/adi/ad9081_mc.py +++ b/adi/ad9081_mc.py @@ -13,7 +13,7 @@ def _map_to_dict(paths, ch, dev_name): - if "label" in ch.attrs and "buffer_only" in ch.attrs["label"].value: + if "->" not in ch.attrs["label"].value: return paths, False fddc, cddc, adc = ch.attrs["label"].value.split("->") if dev_name not in paths.keys(): diff --git a/adi/ad9084_mc.py b/adi/ad9084_mc.py index a2948cc1e..3aad0eacb 100644 --- a/adi/ad9084_mc.py +++ b/adi/ad9084_mc.py @@ -14,7 +14,7 @@ def _map_to_dict(paths, ch, dev_name): - if "label" in ch.attrs and "buffer_only" in ch.attrs["label"].value: + if "->" not in ch.attrs["label"].value: return paths, False side, fddc, cddc, adc = ch.attrs["label"].value.replace(":", "->").split("->") if dev_name not in paths.keys():