From 66d24c0ac3c96d3e1bce9217032ece55dd3609eb Mon Sep 17 00:00:00 2001 From: SarahsWork Date: Mon, 18 Feb 2013 14:15:11 -0500 Subject: [PATCH] linux screen.seqs segfault --- screenseqscommand.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/screenseqscommand.cpp b/screenseqscommand.cpp index 5149550..29e5413 100644 --- a/screenseqscommand.cpp +++ b/screenseqscommand.cpp @@ -1080,8 +1080,6 @@ int ScreenSeqsCommand::screenNameGroupFile(map badSeqNames){ it = badSeqNames.find(seqName); if(it != badSeqNames.end()){ - badSeqNames.erase(it); - if(namefile != ""){ int start = 0; for(int i=0;i badSeqNames){ } badSeqGroups[seqList.substr(start,seqList.length()-start)] = it->second; } + badSeqNames.erase(it); } else{ goodNameOut << seqName << '\t' << seqList << endl; -- 2.39.2