Skip to content

Commit db483d0

Browse files
committed
fix non-breaking spaces that crept in
1 parent 7a82d7a commit db483d0

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

VERSIONS

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ multitrait branch:
4343
fix calcInbreedingLoad() to use muts.dominanceCoeff instead of muts.mutationType.dominanceCoeff
4444
revamp MutationType for multiple traits
4545
remove MutationType properties dominanceCoeff, distributionType, and distributionParams properties
46-
add MutationType methods defaultDominanceForTrait([Nio<Trait> trait = NULL]), effectDistributionTypeForTrait([Nio<Trait> trait = NULL]), and effectDistributionParamsForTrait([Nio<Trait> trait = NULL])
47-
change MutationType method setDistribution() to setEffectDistributionForTrait(Nio<Trait> trait, string$ distributionType, ...)
48-
change MutationType method drawSelectionCoefficient() to drawEffectForTrait([Nio<Trait> trait = NULL], [integer$ n = 1])
46+
add MutationType methods defaultDominanceForTrait([Nio<Trait> trait = NULL]), effectDistributionTypeForTrait([Nio<Trait> trait = NULL]), and effectDistributionParamsForTrait([Nio<Trait> trait = NULL])
47+
change MutationType method setDistribution() to setEffectDistributionForTrait(Nio<Trait> trait, string$ distributionType, ...)
48+
change MutationType method drawSelectionCoefficient() to drawEffectForTrait([Nio<Trait> trait = NULL], [integer$ n = 1])
4949
add SLiMgui autofixing for all of the above changes in QtSLiMWindow::checkTerminationForAutofix()
50-
add MutationType method setDefaultDominanceForTrait(Nio<Trait> trait, float dominance) (approximately replacing writing into the dominanceCoeff property, but this should not autofix)
50+
add MutationType method setDefaultDominanceForTrait(Nio<Trait> trait, float dominance) (approximately replacing writing into the dominanceCoeff property, but this should not autofix)
5151
transition MutationType's internals to keep a separate DE for each trait using a new EffectDistributionInfo struct
5252
added C++ IsPureNeutralDFE() method to represent whether all of the effects of a given mutation type are all neutral
5353
add Individual properties for each trait in the individual's species, allowing direct access
@@ -162,7 +162,7 @@ version 5.0 (Eidos version 4.0):
162162
policy change: the 1D SFS graph and haplotype plot no longer depend upon the current chromosome range selection; that was weird, and doesn't work well in multichrom
163163
policy change: the "remove fixed mutations" stage of the WF tick cycle is now after "offspring become parents" (no user-visible difference except WF tick cycle diagram)
164164
policy change: mutationRuns= for initializeSLiMOptions() has been changed to [l$ doMutationRunExperiments=T]; pass mutationRuns= to initializeChromosome() instead
165-
policy change (slight): the haplosome1Null and haplosome2Null parameters to addEmpty() now apply only to type "A" chromosomes, causing a minor break in backward compatibility
165+
policy change (slight): the haplosome1Null and haplosome2Null parameters to addEmpty() now apply only to type "A" chromosomes, causing a minor break in backward compatibility
166166
policy change: randomizeStrands must now usually be explicitly specified for both addRecombinant() and addMultiRecombinant();
167167
the default is now NULL, and NULL errors so that T or F must be explicitly given unless it does not matter (i.e., there is no recombination)
168168
policy change: fix #487, changing TSK_SIMPLIFY_KEEP_UNARY to TSK_SIMPLIFY_KEEP_UNARY_IN_INDIVIDUALS for retainCoalescentOnly=F (a change in simplification behavior)

core/mutation_type.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ EidosValue_SP MutationType::ExecuteInstanceMethod(EidosGlobalStringID p_method_i
702702
}
703703
}
704704

705-
// ********************* - (float$)defaultDominanceForTrait([Nio<Trait> trait = NULL])
705+
// ********************* - (float$)defaultDominanceForTrait([Nio<Trait> trait = NULL])
706706
//
707707
EidosValue_SP MutationType::ExecuteMethod_defaultDominanceForTrait(EidosGlobalStringID p_method_id, const std::vector<EidosValue_SP> &p_arguments, EidosInterpreter &p_interpreter)
708708
{
@@ -735,7 +735,7 @@ EidosValue_SP MutationType::ExecuteMethod_defaultDominanceForTrait(EidosGlobalSt
735735
}
736736
}
737737

738-
// ********************* - (fs)effectDistributionParamsForTrait([Nio<Trait> trait = NULL])
738+
// ********************* - (fs)effectDistributionParamsForTrait([Nio<Trait> trait = NULL])
739739
//
740740
EidosValue_SP MutationType::ExecuteMethod_effectDistributionParamsForTrait(EidosGlobalStringID p_method_id, const std::vector<EidosValue_SP> &p_arguments, EidosInterpreter &p_interpreter)
741741
{
@@ -793,7 +793,7 @@ EidosValue_SP MutationType::ExecuteMethod_effectDistributionParamsForTrait(Eidos
793793
}
794794
}
795795

796-
// ********************* - (string$)effectDistributionTypeForTrait([Nio<Trait> trait = NULL])
796+
// ********************* - (string$)effectDistributionTypeForTrait([Nio<Trait> trait = NULL])
797797
//
798798
EidosValue_SP MutationType::ExecuteMethod_effectDistributionTypeForTrait(EidosGlobalStringID p_method_id, const std::vector<EidosValue_SP> &p_arguments, EidosInterpreter &p_interpreter)
799799
{
@@ -827,7 +827,7 @@ EidosValue_SP MutationType::ExecuteMethod_effectDistributionTypeForTrait(EidosGl
827827
return EidosValue_SP(string_result);
828828
}
829829

830-
// ********************* - (float)drawEffectForTrait([Nio<Trait> trait = NULL], [integer$ n = 1])
830+
// ********************* - (float)drawEffectForTrait([Nio<Trait> trait = NULL], [integer$ n = 1])
831831
//
832832
EidosValue_SP MutationType::ExecuteMethod_drawEffectForTrait(EidosGlobalStringID p_method_id, const std::vector<EidosValue_SP> &p_arguments, EidosInterpreter &p_interpreter)
833833
{
@@ -865,7 +865,7 @@ EidosValue_SP MutationType::ExecuteMethod_drawEffectForTrait(EidosGlobalStringID
865865
}
866866
}
867867

868-
// ********************* - (void)setDefaultDominanceForTrait(Nio<Trait> trait, float dominance)
868+
// ********************* - (void)setDefaultDominanceForTrait(Nio<Trait> trait, float dominance)
869869
//
870870
EidosValue_SP MutationType::ExecuteMethod_setDefaultDominanceForTrait(EidosGlobalStringID p_method_id, const std::vector<EidosValue_SP> &p_arguments, EidosInterpreter &p_interpreter)
871871
{
@@ -914,7 +914,7 @@ EidosValue_SP MutationType::ExecuteMethod_setDefaultDominanceForTrait(EidosGloba
914914
return gStaticEidosValueVOID;
915915
}
916916

917-
// ********************* - (void)setEffectDistributionForTrait(Nio<Trait> trait, string$ distributionType, ...)
917+
// ********************* - (void)setEffectDistributionForTrait(Nio<Trait> trait, string$ distributionType, ...)
918918
//
919919
EidosValue_SP MutationType::ExecuteMethod_setEffectDistributionForTrait(EidosGlobalStringID p_method_id, const std::vector<EidosValue_SP> &p_arguments, EidosInterpreter &p_interpreter)
920920
{

core/slim_test_other.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2973,7 +2973,7 @@ initialize() {
29732973
SLiMAssertScriptSuccess(base_script + "calcTajimasD(sim.subpopulations.haplosomesForChromosomes(2), NULL, 1e5, 2e5); }", __LINE__);
29742974
SLiMAssertScriptSuccess(base_script + "calcTajimasD(sim.subpopulations.haplosomesForChromosomes(1), muts_ch1, 1e5, 2e5); }", __LINE__);
29752975

2976-
// (numeric)calcSFS([Ni$ binCount = NULL], [No<Haplosome> haplosomes = NULL], [No<Mutation> muts = NULL], [string$ metric = "density"], [logical$ fold = F])
2976+
// (numeric)calcSFS([Ni$ binCount = NULL], [No<Haplosome> haplosomes = NULL], [No<Mutation> muts = NULL], [string$ metric = "density"], [logical$ fold = F])
29772977
SLiMAssertScriptRaise(base_script + "calcSFS(); }", "when binCount is NULL", __LINE__, true, /* p_error_is_in_stop */ true);
29782978
SLiMAssertScriptSuccess(base_script + "calcSFS(10); }", __LINE__);
29792979
SLiMAssertScriptSuccess(base_script + "calcSFS(10, sim.subpopulations.haplosomesForChromosomes(1)); }", __LINE__);

0 commit comments

Comments
 (0)