Skip to content

Commit

Permalink
ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
nbollis committed Dec 17, 2024
1 parent 1b8f322 commit fac3c40
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions mzLib/Test/Transcriptomics/TestOligoWithSetMods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ public static void TestInequality_DifferentParentSameDigestionProduct(string seq
{
var digestionParams = new RnaDigestionParams(rnase: enzyme, minLength: 1, maxMissedCleavages: 0);

var oligo1 = new RNA(sequence1)
var oligo1 = new RNA(sequence1, "", "rna1", "", "")
.Digest(digestionParams, [], [])
.First();

var oligo2 = new RNA(sequence2)
var oligo2 = new RNA(sequence2, "", "rna3", "", "")
.Digest(digestionParams, [], [])
.First();

Expand Down
6 changes: 3 additions & 3 deletions mzLib/Transcriptomics/RNA.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public RNA(string sequence, IHasChemicalFormula? fivePrimeTerm = null, IHasChemi
/// </summary>
/// <param name="sequence"></param>
/// <param name="name"></param>
/// <param name="identifier"></param>
/// <param name="accession"></param>
/// <param name="organism"></param>
/// <param name="databaseFilePath"></param>
/// <param name="fivePrimeTerminus"></param>
Expand All @@ -33,12 +33,12 @@ public RNA(string sequence, IHasChemicalFormula? fivePrimeTerm = null, IHasChemi
/// <param name="isDecoy"></param>
/// <param name="geneNames"></param>
/// <param name="databaseAdditionalFields"></param>
public RNA(string sequence, string name, string identifier, string organism, string databaseFilePath,
public RNA(string sequence, string name, string accession, string organism, string databaseFilePath,
IHasChemicalFormula? fivePrimeTerminus = null, IHasChemicalFormula? threePrimeTerminus = null,
IDictionary<int, List<Modification>>? oneBasedPossibleModifications = null,
bool isContaminant = false, bool isDecoy = false, List<Tuple<string, string>> geneNames = null,
Dictionary<string, string>? databaseAdditionalFields = null)
: base(sequence, name, identifier, organism, databaseFilePath, fivePrimeTerminus, threePrimeTerminus,
: base(sequence, name, accession, organism, databaseFilePath, fivePrimeTerminus, threePrimeTerminus,
oneBasedPossibleModifications, isContaminant, isDecoy, geneNames, databaseAdditionalFields)
{

Expand Down

0 comments on commit fac3c40

Please sign in to comment.