Skip to content

Commit

Permalink
Fixing compile error on pleiades.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Maurais committed Sep 28, 2018
1 parent 30561ba commit e6c57c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/gitVersion.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#ifndef gitVersion_hpp
#define gitVersion_hpp

const char* GIT_DATE = "Fri Sep 28 19:27:17 2018";
const char* GIT_COMMIT = "3cacc952bdc352da3b8aab1d87882f551e8f1d81";
const char* GIT_DATE = "Fri Sep 28 19:27:54 2018";
const char* GIT_COMMIT = "30561ba2bb2f3c65ece3814dc93112866a879012";

#endif /* gitVersion_hpp */
2 changes: 1 addition & 1 deletion src/dtafilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1231,7 +1231,7 @@ std::string parseSample(std::string sampleName, std::string prefix,
return sampleName.substr(0, sampleName.find_last_of("_"));
}
else {
std::string sample = re ? std::regex_replace(sampleName, pattern, "") :
std::string sample = re ? std::regex_replace(sampleName, pattern, std::string("")) :
utils::removeSubstr(prefix, sampleName); //remove prefix from sampleName
return outputFormat ? sample.substr(0, sample.find_last_of("_")) : sample;
}
Expand Down

0 comments on commit e6c57c1

Please sign in to comment.