grape icon indicating copy to clipboard operation
grape copied to clipboard

Bring your own data?

Open cthoyt opened this issue 4 years ago • 5 comments
trafficstars

I'm emulating a lazy reviewer by only reading the README - I'd much rather bring my own data than use something built in. It would be great to have a example on the README that shows how the data should look (i.e., file format) and also what code you need to use to embed that network

cthoyt avatar Oct 14 '21 10:10 cthoyt

Hello @cthoyt and sorry for the long delay, I will be adding that portion of the tutorial in the README. At this time, you can see a long version in this jupyter notebook.

I'll be trying to create a super-short version of it.

LucaCappelletti94 avatar Mar 23 '22 11:03 LucaCappelletti94

It would be great if you could also show how to use existing networkx Graph objects. According to the documentation of your GeneralGraph class it should be easy to init it based on an existing nx graph (https://mathlab.github.io/GRAPE/_summaries/grape.general_graph.GeneralGraph.html). However there seems to be a missmatch between your tutorials and the documentation and I can't find out where this class is hidden in the current version.

DaminK avatar May 02 '23 14:05 DaminK

Hi @DaminK, the documentation you have linked has nothing to do with this project. Do join the discord if you need help getting started.

LucaCappelletti94 avatar May 02 '23 14:05 LucaCappelletti94

My bad, thanks for your swift reply. However the naming seems really unfortunate to compete with another existing python package for processing graphs.

DaminK avatar May 02 '23 14:05 DaminK

Yes, but it's hardly possible (or desirable) to stop other developers to choose similar names for a project. The important thing in my opinion, for us, is that the python package on pip has a very clear name.

LucaCappelletti94 avatar May 02 '23 14:05 LucaCappelletti94