Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
vidjil
vidjil
Commits
822d835f
Commit
822d835f
authored
Feb 17, 2016
by
Mathieu Giraud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core/fasta.cpp: remove spurious space at the end of {,base}name
parent
fb4143e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
algo/core/fasta.cpp
algo/core/fasta.cpp
+8
-2
No files found.
algo/core/fasta.cpp
View file @
822d835f
...
...
@@ -86,8 +86,14 @@ void Fasta::add(const string &filename, bool verbose) {
throw
invalid_argument
(
" !! Error in opening file: "
+
filename
);
}
name
+=
filename
+
" "
;
basename
+=
extract_basename
(
filename
)
+=
" "
;
if
(
name
.
size
())
name
+=
" "
;
if
(
basename
.
size
())
basename
+=
" "
;
name
+=
filename
;
basename
+=
extract_basename
(
filename
);
if
(
verbose
)
cout
<<
" <== "
<<
filename
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment