]> git.donarmstrong.com Git - rsem.git/blobdiff - RefSeq.h
RSEM v1.1.8
[rsem.git] / RefSeq.h
index 1b2e58e26b90efa40717a0567df06f263e1e88ea..0e7f2caba0dac2df07b8ad255373d79b9f70de94 100644 (file)
--- a/RefSeq.h
+++ b/RefSeq.h
@@ -105,7 +105,7 @@ class RefSeq {
   std::vector<unsigned int> fmasks; // record masks for forward strand, each position occupies 1 bit 
 };
 
-//internal read; option 0 : read all 1 : do not read seqence and name
+//internal read; option 0 : read all 1 : do not read seqences
 bool RefSeq::read(std::ifstream& fin, int option) {
   std::string line;
 
@@ -122,7 +122,7 @@ bool RefSeq::read(std::ifstream& fin, int option) {
   getline(fin, line);
 
   assert(option == 0 || option == 1);
-  if (option == 1) { name = seq = ""; }
+  if (option == 1) { seq = ""; }
 
   return true;
 }