Skip to content

Commit

Permalink
Minor print change
Browse files Browse the repository at this point in the history
  • Loading branch information
DomBennett committed Jan 29, 2016
1 parent a53d1d3 commit cb6601e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/node-declaration.R
Expand Up @@ -53,10 +53,10 @@ setMethod ('print', c('x'='Node'),
}
msg <- paste0(msg, ' + ID: \"', x@id, '\"\n')
if(!x@root) {
msg <- paste0(msg, ' + preid: \"', x@prid, '\"\n')
msg <- paste0(msg, ' + prid: \"', x@prid, '\"\n')
}
if(!x@tip) {
msg <- paste0(msg, ' + postid: \"', paste0(x@ptid, collapse='\", \"'), '\"\n')
msg <- paste0(msg, ' + ptid: \"', paste0(x@ptid, collapse='\", \"'), '\"\n')
msg <- paste0(msg, ' + nchildren: ', length(x@children), '\n')
}
if(length(x@span) > 0) {
Expand Down

0 comments on commit cb6601e

Please sign in to comment.