Skip to content

Commit

Permalink
fix reading fasta from stdin
Browse files Browse the repository at this point in the history
  • Loading branch information
apirogov committed Apr 3, 2017
1 parent d76413c commit ea27ba8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/macle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ bool check_unique_names(FastaFile &ff) {
void processFile(char const *file) {
ComplexityData dat;

//infer whether it is an index (user can forget -i)
if (with_file_in(file, readMagic))
//infer whether given file is an index (user can forget -i)
if (file && with_file_in(file, readMagic))
args.i = true;

if (args.i) { //load from index
Expand Down

0 comments on commit ea27ba8

Please sign in to comment.