Skip to content
Snippets Groups Projects
Commit ecd14770 authored by langella's avatar langella
Browse files

add datasource file to MsRun on getInstance

git-svn-id: https://subversion.renater.fr/xtandempipeline/trunk@348 b8ef2a07-7df7-436f-90b9-41648038564b
parent 89da06aa
No related branches found
No related tags found
No related merge requests found
......@@ -54,8 +54,9 @@ public class MsRunSet extends HashSet<MsRun> {
public MsRun getInstance(IdentificationDataSource sampleFile)
throws MSMSException {
String sampleName = sampleFile.getName();
return getInstance(sampleName);
MsRun msRun = getInstance(sampleName);
sampleFile = msRun.addFile(sampleFile);
return msRun;
}
public ArrayList<MsRun> getMsRunList() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment