Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix read-only warning when creating GO data #625

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion GO.pm
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,8 @@ sub _write_GO_terms_to_file {
# when there is a new transcript, write $transcript_info to file and repeat
my $transcript_info;
my $previous_transcript = "";
while(my $row = $sth->fetchrow_arrayref()) {
while(my $line = $sth->fetchrow_arrayref()) {
my $row = [ @$line ];
my ($transcript_id, $go_term, $description) = splice(@$row, -3);

if ($transcript_id ne $previous_transcript) {
Expand Down