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
<p class="p6"><span class="s3">A </span><span class="s4">string</span><span class="s3"> representing the nucleotide associated with this mutation; this will be </span><span class="s4">"A"</span><span class="s3">, </span><span class="s4">"C"</span><span class="s3">, </span><span class="s4">"G"</span><span class="s3">, or </span><span class="s4">"T"</span><span class="s3">.<span class="Apple-converted-space"> </span>If the mutation is not nucleotide-based, this property is unavailable.</span></p>
<p class="p6"><span class="s3">An </span><span class="s4">integer</span><span class="s3"> representing the nucleotide associated with this mutation; this will be </span><span class="s4">0</span><span class="s3"> (A), </span><span class="s4">1</span><span class="s3"> (C), </span><span class="s4">2</span><span class="s3"> (G), or </span><span class="s4">3</span><span class="s3"> (T).<span class="Apple-converted-space"> </span>If the mutation is not nucleotide-based, this property is unavailable.</span></p>
1360
1360
<p class="p3">originTick => (integer$)</p>
1361
1361
<p class="p4">The tick in which this mutation arose.</p>
policy change: the nucleotide and nucleotideValue properties of Substitution are now read-only (I think it was a bug that they were ever read-write...?)
EIDOS_TERMINATION << "ERROR (Substitution::SetProperty): property nucleotideValue is only defined for nucleotide-based substitutions." << EidosTerminate();
539
-
if ((nucleotide < 0) || (nucleotide > 3))
540
-
EIDOS_TERMINATION << "ERROR (Substitution::SetProperty): property nucleotideValue may only be set to 0 (A), 1 (C), 2 (G), or 3 (T)." << EidosTerminate();
541
-
542
-
nucleotide_ = (int8_t)nucleotide;
543
-
return;
544
-
}
545
519
casegID_subpopID:
546
520
{
547
521
slim_objectid_t value = SLiMCastToObjectidTypeOrRaise(p_value.IntAtIndex_NOCAST(0, nullptr));
0 commit comments