You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnofferAndExecuteAutofix(selection, "outputHaplosomesToVCF", "The `outputVCF()` method of Haplosome has been renamed to `outputHaplosomesToVCF()`.", terminationMessage);
2127
2127
2128
2128
//
2129
-
// Shift from one trait to multitrait for SLiM 5.1
2129
+
// Shift from one trait to multitrait for SLiM 6.0
2130
2130
//
2131
2131
2132
2132
if (terminationMessage.contains("property dominanceCoeff is not defined for object element type MutationType") &&
2133
2133
(selectionString == "dominanceCoeff"))
2134
2134
{
2135
+
// if the user is accessing dominanceCoeff, it needs to be corrected to be a call to defaultDominanceForTrait()
2135
2136
// if the user is assigning into dominanceCoeff, it needs to be corrected to be a call to setDefaultDominanceForTrait()
2136
2137
if (terminationMessage.contains("GetPropertyOfElements"))
2137
2138
returnofferAndExecuteAutofix(selection, "defaultDominanceForTrait()", "Reading the `dominanceCoeff` property of MutationType has become the method `defaultDominanceForTrait()`.", terminationMessage);
if (terminationMessage.contains("property hemizygousDominanceCoeff is not defined for object element type MutationType") &&
2183
2184
(selectionString == "hemizygousDominanceCoeff"))
2184
2185
{
2186
+
// if the user is accessing hemizygousDominanceCoeff, it needs to be corrected to be a call to defaultHemizygousDominanceForTrait()
2185
2187
// if the user is assigning into hemizygousDominanceCoeff, it needs to be corrected to be a call to setDefaultHemizygousDominanceForTrait()
2186
2188
if (terminationMessage.contains("GetPropertyOfElements"))
2187
2189
returnofferAndExecuteAutofix(selection, "defaultHemizygousDominanceForTrait()", "The `hemizygousDominanceCoeff` property of MutationType has become the method `defaultHemizygousDominanceForTrait()`.", terminationMessage);
0 commit comments