diff --git a/pyuvdata/uvbeam/uvbeam.py b/pyuvdata/uvbeam/uvbeam.py index 1b5b89b46d..b142601731 100644 --- a/pyuvdata/uvbeam/uvbeam.py +++ b/pyuvdata/uvbeam/uvbeam.py @@ -4430,7 +4430,7 @@ def read_feko_beam( """ from . import feko_beam - + if not isinstance(filename, (list, tuple)) and filename.endswith("yaml"): settings_dict = self._read_feko_beam_yaml(filename) if not isinstance(settings_dict["frequencies"], list):