Skip to content

Commit

Permalink
fix a bug of fixMGI
Browse files Browse the repository at this point in the history
  • Loading branch information
sfchen committed Nov 7, 2024
1 parent 017622a commit 7402c75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/read.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ bool Read::fixMGI() {
int len = mName->length();
if((*mName)[len-1]=='1' || (*mName)[len-1]=='2') {
if((*mName)[len-2] == '/') {
delete mName;
mName = new string(mName->substr(0, len-2) + " " + mName->substr(len-2, 2));
return true;
}
Expand Down

0 comments on commit 7402c75

Please sign in to comment.