intermine / InterMineR

R package for InterMine
GNU Lesser General Public License v2.1
18 stars 16 forks source link

getModel function in intermineR not working #63

Closed rachellyne closed 4 years ago

rachellyne commented 5 years ago

The getModel function does not work for FlyMine or humanMine. It seems to be ok for mouseMine. It seems to be a problem with rbind. Error is "number of columns of arguments do not match". This is in the listModelSummary function which is called by the getModel function.

https://github.com/intermine/InterMineR/blob/master/R/InterMineR.R#L61

julie-sullivan commented 5 years ago

What is the getModel() function trying to do? It looks like it's just putting the values in a data structure. Why would that cause an error? Is it trying to merge anything?

Would a duplicate in the model be causing the issue?

I don't know how an error in the model would cause an error in InterMineR but not in InterMine.

julie-sullivan commented 5 years ago

Use dplyr's bind_rows instead? Would that work? I don't see why there should be a different number of columns in the first place, if it's just the model?