From 18ccd00675f8b5100072883ec0b359783e9ff73e Mon Sep 17 00:00:00 2001 From: Davide Peressoni Date: Fri, 2 Apr 2021 16:24:48 +0200 Subject: [PATCH] fixed output file name Before this if the source file does not contain any `/` (i.e. it is in the current location folder) the output file was named `.ust.fa` resulting invisible --- ust.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ust.cpp b/ust.cpp index b408591..ff34cca 100644 --- a/ust.cpp +++ b/ust.cpp @@ -142,7 +142,7 @@ string getFileName(const string& s) { return(s.substr(i+1, s.length() - i)); } - return(""); + return s; }