Skip to content

Commit

Permalink
Updated fields to properties, added comments (#794)
Browse files Browse the repository at this point in the history
Co-authored-by: trishorts <mshort@chem.wisc.edu>
  • Loading branch information
Alexander-Sol and trishorts authored Aug 23, 2024
1 parent bad5b86 commit 71828ee
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions mzLib/FlashLFQ/SpectraFileInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,22 @@
{
public class SpectraFileInfo
{
public readonly string FullFilePathWithExtension;
public readonly string FilenameWithoutExtension;
public string Condition;
public readonly int BiologicalReplicate;
public readonly int Fraction;
public readonly int TechnicalReplicate;
/// <summary>
/// The path to the data file (e.g., a .raw file) with the extension
/// </summary>
public string FullFilePathWithExtension { get; init; }
/// <summary>
/// The name of the data file without the extension
/// </summary>
public string FilenameWithoutExtension { get; init; }
/// <summary>
/// The condition of the sample (e.g., "Control" or "Treatment")
/// </summary>
public string Condition { get; set; }

public int BiologicalReplicate { get; set; }
public int TechnicalReplicate { get; set; }
public int Fraction { get; set; }

public SpectraFileInfo(string fullFilePathWithExtension, string condition, int biorep, int techrep, int fraction)
{
Expand Down

0 comments on commit 71828ee

Please sign in to comment.