File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 55# SPDX-License-Identifier: LGPL-3.0-or-later
66
77# version of this python module
8- __version__ = "1.2.4 "
8+ __version__ = "1.2.5 "
99# matching version of the SigMF specification
1010__specification__ = "1.2.0"
1111
Original file line number Diff line number Diff line change @@ -287,9 +287,9 @@ def set_metadata(self, metadata):
287287
288288 def set_global_info (self , new_global ):
289289 """
290- Overwrite the global info with a new dictionary .
290+ Recursively override existing global metadata with new global metadata .
291291 """
292- self ._metadata [self .GLOBAL_KEY ] = new_global . copy ( )
292+ self ._metadata [self .GLOBAL_KEY ] = dict_merge ( self . _metadata [ self . GLOBAL_KEY ], new_global )
293293
294294 def get_global_info (self ):
295295 """
You can’t perform that action at this time.
0 commit comments