spacetelescope / stdatamodels

https://stdatamodels.readthedocs.io
Other
5 stars 25 forks source link

Simplify `merge_property_trees` #366

Open braingram opened 4 days ago

braingram commented 4 days ago

As commented in the code: https://github.com/spacetelescope/stdatamodels/blob/ab0cba5e20bd7a73b7c123d066ea77b7e7913a81/src/stdatamodels/schema.py#L175 the merge_property_trees function could likely be simplified with an eye towards improved readability and maintenance.