youngser / D3M2

0 stars 0 forks source link

sgm & vnsgm #5

Closed youngser closed 7 years ago

youngser commented 7 years ago

From @DSP137:

The functions sgm and vnsgm do not yet run with the python wrapper. @disa-mhembere said he thinks he knows what's going on with the sgm wrapper and will look into it. The test function does not work for vnsgm. The data sets in the vnsgm folder are not graph objects. I also tried to use the data sets from the sgm folder which are .gml files, to no avail.

youngser commented 7 years ago

I see that most of the wrappers have lines source(*.interface.R). The JPL guy said that this won't work, because all they will have/take is a python file!

So, my (and the JPL guy's) questions are

  1. Can we modify the wrappers so that they don't have source lines? I remember that's what we have earlier?

  2. Is it possible to have all the wrappers as a single python package == pip installable ??

youngser commented 7 years ago

For no. 1 above, will it be better if I include all the *.interface.R files inside a new R package I'm writing (let's call it JHUD3M ?? Then, I think it minimizes the revision of the wrappers? No?

disa-mhembere commented 7 years ago

I use full paths like this: line 30. How won't this work when it is it populated based upon the location of the calling file see line 27 ?

youngser commented 7 years ago

The guy said our files that will be installed on the D3M system will be

  1. R packages via a script I will provide,
  2. Our Python wraqppers,
  3. "setup.py" from the "thin client" that I mentioned earlier so that it can communicate with the TA2 team's docker container, which will have 1 and 2 + R/Python/rpi2.

That's all!

So, I guess including those .interface.R functions inside one of my packages won't work, because Python cannot call R functions directly? Again, I remember you put the content of .interface.R inside double quotes at the very first attempt, and I think that's the only way?

On Sep 15, 2017, at 1:10 PM, Disa Mhembere notifications@github.com wrote:

I use full paths like this: line 30 https://github.com/youngser/D3M/blob/api/ase/SRC/ase.py#L30. How won't this work when it is it populated based upon the location of the calling file see line 27 https://github.com/youngser/D3M/blob/api/ase/SRC/ase.py#L27 ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/youngser/D3M/issues/5#issuecomment-329842430, or mute the thread https://github.com/notifications/unsubscribe-auth/AFeZLU9Q9G9xjr35Nl6NOekVdfBChvLkks5siq-YgaJpZM4PYYTq.