diff --git a/maps/python/map_modules.py b/maps/python/map_modules.py index 09b47d72..d0a08b88 100644 --- a/maps/python/map_modules.py +++ b/maps/python/map_modules.py @@ -625,9 +625,9 @@ def __call__(self, frame): if "InputFiles" in frame: # allow for recursive coadds input_files += list(frame["InputFiles"]) - elif getattr(frame, "filename", None): - if frame.filename not in input_files: - input_files += [frame.filename] + elif getattr(frame, "_filename", None): + if frame._filename not in input_files: + input_files += [frame._filename] if len(input_files): cfr["InputFiles"] = core.G3VectorString(input_files)