Skip to content

Commit

Permalink
removed empty value channel creation example
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrimes committed Jun 25, 2021
1 parent 78317c1 commit bd67693
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions _episodes/03-channels.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,12 @@ Values are put inside parentheses `()` to assign them to a channel.
For example:

~~~
ch1 = Channel.value()
ch2 = Channel.value('GRCh38')
ch1 = Channel.value('GRCh38')
ch2 = Channel.value( ['chr1','chr2','chr3','chr4','chr5'] )
~~~
{: .language-groovy }

1. Creates an empty value channel.

1. Creates a value channel and binds a string to it.
1. Creates a value channel and binds a list object to it that will be emitted as a single item.

Expand Down

0 comments on commit bd67693

Please sign in to comment.