From 94e5fba2f5c2bf3438b9423c05af9ae360b8d211 Mon Sep 17 00:00:00 2001 From: PaulHuwe Date: Mon, 29 Jan 2024 12:22:45 -0500 Subject: [PATCH] Added filename keyword to mosaic basic. --- src/roman_datamodels/maker_utils/_common_meta.py | 2 +- tests/test_stnode.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/roman_datamodels/maker_utils/_common_meta.py b/src/roman_datamodels/maker_utils/_common_meta.py index 7fecab86..078ac824 100644 --- a/src/roman_datamodels/maker_utils/_common_meta.py +++ b/src/roman_datamodels/maker_utils/_common_meta.py @@ -675,7 +675,7 @@ def mk_mosaic_basic(**kwargs): mosbasic["telescope"] = kwargs.get("telescope", "ROMAN") mosbasic["location_name"] = kwargs.get("location_name", NOSTR) mosbasic["product_type"] = kwargs.get("product_type", NOSTR) - + mosbasic["filename"] = kwargs.get("filename", NOSTR) return mosbasic diff --git a/tests/test_stnode.py b/tests/test_stnode.py index e428a84e..42864e25 100644 --- a/tests/test_stnode.py +++ b/tests/test_stnode.py @@ -350,6 +350,7 @@ def test_node_representation(model): "telescope": "ROMAN", "location_name": "dummy value", "product_type": "dummy value", + "filename": "dummy value", } ) else: