GATB / gatb-core-tuto

This project hosts the source code of the GATB-Core Programming Online Tutorial.
1 stars 0 forks source link

GraphIterator discrepency #2

Closed mbhall88 closed 6 years ago

mbhall88 commented 6 years ago

At line 31 of GATB Tutorial lesson 2: iterate over the nodes of a De Bruijn graph an iterator over the nodes in a graph is declared with

Graph::Iterator<Node> it = graph.iterator ();

This compiles and runs on the online tutorial ok but I noticed it didn't work on my local machine.

After looking into the documentation though it appears the correct syntax should have been

GraphIterator<Node> it = graph.iterator ();

This declaration works on my local machine.

I just thought I would flag this and maybe you could clear up why there is a difference?

PS. Thank you for the tutorials. They have been incredibly helpful! 👍

rchikhi commented 6 years ago

thanks for letting us know! There are indeed some small API differences between tutorial versions and the GATB Tutorial website is still on an older version. When we make the version switch, we'll update all tutorial examples. (but it's a bit of work)