Skip to content

Commit 289011b

Browse files
committed
fix output - add newline to printf statement
1 parent a525e44 commit 289011b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script-box/uniprot2go.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ do
6565
# Prints accession<tab>GOID1;GOID2;GOIDn
6666
# IFS prevents spaces from being added between GO IDs
6767
# sed removes ";" after final GO ID
68-
(IFS=; printf "%s\t%s" "${accession}" "${go_ids_array[*]}" | sed 's/.$//')
68+
(IFS=; printf "%s\t%s\n" "${accession}" "${go_ids_array[*]}" | sed 's/;$//')
6969

7070
# Record accession numbers of those that failed to download.
7171
else

0 commit comments

Comments
 (0)