Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/MSDIAL5/MsdialCore/Parameter/ParameterBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ public class AlignmentBaseParameter {
[Key(3)]
public float SpectrumSimilarityAlignmentFactor { get; set; } = 0.5F;
[Key(4)]
public float Ms1AlignmentTolerance { get; set; } = 0.5F;
public float Ms1AlignmentTolerance { get; set; } = 0.015F;
[Key(5)]
public float RetentionTimeAlignmentTolerance { get; set; } = 0.10F;
[Key(6)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ protected GcmsPeakJoiner(AlignmentIndexType indextype, RiCompoundType riCompound
_comparer = comparer;
_alignmentParameter = parameter.AlignmentBaseParam;
_riCompoundType = riCompoundType;
_msMatchParam = new MsRefSearchParameterBase() { Ms1Tolerance = 0.5F, Ms2Tolerance = 0.5F, MassRangeBegin = 0, MassRangeEnd = 2000 };
_msMatchParam = new MsRefSearchParameterBase { Ms1Tolerance = .5f, Ms2Tolerance = .5f, MassRangeBegin = 0, MassRangeEnd = 2000, };
_parameter = parameter;
_evaluator = evaluator;
_refer = refer;
Expand Down
5 changes: 4 additions & 1 deletion src/MSDIAL5/MsdialGcMsApi/Parameter/MsdialGcmsParameter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ namespace CompMs.MsdialGcMsApi.Parameter {
[MessagePackObject]
public class MsdialGcmsParameter : ParameterBase {

public MsdialGcmsParameter(bool isLabUseOnly) : base(isLabUseOnly) { this.MachineCategory = MachineCategory.GCMS; }
public MsdialGcmsParameter(bool isLabUseOnly) : base(isLabUseOnly) {
this.MachineCategory = MachineCategory.GCMS;
AlignmentBaseParam.Ms1AlignmentTolerance = .5f;
}

[SerializationConstructor]
public MsdialGcmsParameter() : this(isLabUseOnly: false) { }
Expand Down
Loading