File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
src/roman_datamodels/maker_utils Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -458,17 +458,19 @@ def mk_mosaic_meta(**kwargs):
458
458
459
459
def mk_mosaic_associations (** kwargs ):
460
460
"""
461
- Create a dummy metadata dictionary with valid values for mosaic associations attributes.
461
+ Create a dummy mosaic associations instance with valid values for
462
+ mosaic associations attributes. Utilized by the model maker utilities.
462
463
463
464
Returns
464
465
-------
465
- dict (defined by the wfi_mosaic-1.0.0 schema)
466
+ roman_datamodels.stnode.MosaicAssociations
466
467
"""
467
- meta = {}
468
- meta ["pool_name" ] = kwargs .get ("pool_name" , NOSTR )
469
- meta ["table_name" ] = kwargs .get ("pool_name" , NOSTR )
470
468
471
- return meta
469
+ mosass = stnode .MosaicAssociations ()
470
+ mosass ["pool_name" ] = kwargs .get ("pool_name" , NOSTR )
471
+ mosass ["table_name" ] = kwargs .get ("table_name" , NOSTR )
472
+
473
+ return mosass
472
474
473
475
474
476
def mk_guidewindow_meta (** kwargs ):
You can’t perform that action at this time.
0 commit comments