Skip to content

Commit ba9f855

Browse files
committed
fix rosalind/mprt-grondilu.pl on Rakudo 2018.12+ bleed
1 parent e4e524f commit ba9f855

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

categories/rosalind/mprt-grondilu.pl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ ($input-file = Nil)
4242
my $fasta = $fasta-name.IO.e
4343
?? $fasta-name.IO.slurp
4444
!! qqx{wget -O - -q "http://www.uniprot.org/uniprot/$id.fasta"};
45-
given join '', grep /^ <.alpha>+ $/, $fasta.split: "\n" {
46-
if $N-glycosylation {
45+
given join '', grep /^ <.alpha>+ $/, $fasta.lines {
46+
when $N-glycosylation {
4747
say $id;
48-
my @arr = gather for m:overlap/$N-glycosylation/ { take .from + 1}
49-
say "{@arr}"
48+
my @arr = gather for m:overlap/$N-glycosylation/ { take .from + 1}
49+
say "{@arr}"
5050
}
5151
}
5252
}

0 commit comments

Comments
 (0)