Hello!
To see the file structure, click on "tree".
Note that updates take place every 10 minutes, commits may not be seen immediately.
projects
/
old-jaiswallab-svn
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a87356
)
Proper detection on lines that only contain a *
author
elserj
<elserj@localhost>
Sat, 10 Jan 2015 19:55:49 +0000
(19:55 +0000)
committer
elserj
<elserj@localhost>
Sat, 10 Jan 2015 19:55:49 +0000
(19:55 +0000)
svn path=/; revision=599
interactome_scripts/fasta_verify.pl
patch
|
blob
|
history
diff --git
a/interactome_scripts/fasta_verify.pl
b/interactome_scripts/fasta_verify.pl
index 58beb937f7e9b957645c91b2ef06072046d8f158..de32235753e34f10220dd8187710cfa69b8a7f28 100755
(executable)
--- a/
interactome_scripts/fasta_verify.pl
+++ b/
interactome_scripts/fasta_verify.pl
@@
-57,6
+57,12
@@
while(<in_file>) {
print "Error: Blank line found on line $counter in file $in_file\n";
$error_counter++;
}
+
+ # detect if line after header only contains a star - is effectively a bland line
+ if($line =~ /^[*]$/ && $prev_line_is_header == 1) {
+ print "Error: Blank line found on line $counter in file $in_file\n";
+ $error_counter++;
+ }
# detect if header line has tabs in it
if($curr_line_is_header ==1 && $line =~ /\t/) {