Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add files via upload
  • Loading branch information
marinakiweler committed Jan 8, 2020
1 parent 5f15a33 commit c9963f1
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 6 deletions.
10 changes: 4 additions & 6 deletions MARMoSET_C/MARMoSET/InstrumentMethod.cs
Expand Up @@ -67,18 +67,16 @@ public InstrumentMethod(IRawDataPlus rawFile, int index, bool toLower = false, o
var seqSNumber = Enumerable.Range(1, sNumber);
List<int> trailerD22List = new List<int>();

foreach (int scan in seqSNumber)
foreach (int scan in seqSNumber) // get resolution of each scan
{
Object aValue = rawFile.GetTrailerExtraValue(scan, 22);
int intValue = Convert.ToInt32(aValue);
trailerD22List.Add(intValue);
}
// 1077 -> 0 ???


// Hash Set for unique Values
var resolutionValues = new HashSet<int>(trailerD22List);
resolutionValues.Remove(0);
object resolution = resolutionValues;
resolutionValues.Remove(0); // no 0
string resolution = string.Join(", ", resolutionValues); // todo, unschoen. wenn fjson aus R weg, hier array
methodWithResolution.Add("Resolution", resolution);
}

Expand Down
Binary file modified MARMoSET_C/MARMoSET/bin/x64/Debug/MARMoSET.exe
Binary file not shown.
Binary file modified MARMoSET_C/MARMoSET/bin/x64/Debug/MARMoSET.pdb
Binary file not shown.
Binary file modified MARMoSET_C/MARMoSET/bin/x64/Release/MARMoSET.exe
Binary file not shown.
Binary file modified MARMoSET_C/MARMoSET/bin/x64/Release/MARMoSET.pdb
Binary file not shown.
Binary file not shown.
Binary file modified MARMoSET_C/MARMoSET/obj/x64/Debug/MARMoSET.exe
Binary file not shown.
Binary file modified MARMoSET_C/MARMoSET/obj/x64/Debug/MARMoSET.pdb
Binary file not shown.
Expand Up @@ -71,3 +71,4 @@ P:\allMARMoSET\MARMoSET_C\MARMoSET\obj\x64\Release\MARMoSET.pdb
\\mpg-nki-winfs.kerckhoff.mpg.de\mkiwele$\allMARMoSET\MARMoSET_C\MARMoSET\obj\x64\Release\MARMoSET.csproj.CopyComplete
\\mpg-nki-winfs.kerckhoff.mpg.de\mkiwele$\allMARMoSET\MARMoSET_C\MARMoSET\obj\x64\Release\MARMoSET.exe
\\mpg-nki-winfs.kerckhoff.mpg.de\mkiwele$\allMARMoSET\MARMoSET_C\MARMoSET\obj\x64\Release\MARMoSET.pdb
\\mpg-nki-winfs.kerckhoff.mpg.de\mkiwele$\allMARMoSET\MARMoSET_C\MARMoSET\obj\x64\Release\MARMoSET.csprojAssemblyReference.cache
Binary file not shown.
Binary file modified MARMoSET_C/MARMoSET/obj/x64/Release/MARMoSET.exe
Binary file not shown.
Binary file modified MARMoSET_C/MARMoSET/obj/x64/Release/MARMoSET.pdb
Binary file not shown.

0 comments on commit c9963f1

Please sign in to comment.