@@ -2031,6 +2031,7 @@ def merge(
20312031 mapping = None ,
20322032 allow_ring_breaking = False ,
20332033 allow_ring_size_change = False ,
2034+ fix_perturbable_zero_sigmas = False ,
20342035 force = False ,
20352036 roi = None ,
20362037 property_map0 = {},
@@ -2062,6 +2063,9 @@ def merge(
20622063 allow_ring_size_change : bool
20632064 Whether to allow changes in ring size.
20642065
2066+ fix_perturbable_zero_sigmas : bool
2067+ Whether to prevent sigma values being perturbed to zero.
2068+
20652069 force : bool
20662070 Whether to try to force the merge, even when the molecular
20672071 connectivity changes not as the result of a ring transformation.
@@ -2135,6 +2139,9 @@ def merge(
21352139 if not isinstance (allow_ring_size_change , bool ):
21362140 raise TypeError ("'allow_ring_size_change' must be of type 'bool'" )
21372141
2142+ if not isinstance (fix_perturbable_zero_sigmas , bool ):
2143+ raise TypeError ("'fix_perturbable_zero_sigmas' must be of type 'bool'" )
2144+
21382145 if not isinstance (force , bool ):
21392146 raise TypeError ("'force' must be of type 'bool'" )
21402147
@@ -2170,6 +2177,7 @@ def merge(
21702177 sire_mapping ,
21712178 allow_ring_breaking = allow_ring_breaking ,
21722179 allow_ring_size_change = allow_ring_size_change ,
2180+ fix_perturbable_zero_sigmas = fix_perturbable_zero_sigmas ,
21732181 force = force ,
21742182 roi = roi ,
21752183 property_map0 = property_map0 ,
0 commit comments