KrishnaswamyLab / MELD

Quantifying experimental perturbations at single cell resolution
Other
105 stars 9 forks source link

VertexFrequencyCluster `fit_predict` docstring is misleading #19

Closed scottgigante closed 5 years ago

scottgigante commented 5 years ago
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-46-894f26fbd5ca> in <module>()
      1 vfc_op = meld.cluster.VertexFrequencyCluster(n_clusters=4)
----> 2 clusters = vfc_op.fit_predict(G, sample_labels)

~/.local/lib/python3.7/site-packages/meld/cluster.py in fit_predict(self, G, RES, **kwargs)
    256 
    257     def fit_predict(self, G, RES, **kwargs):
--> 258         self.fit_transform(G, RES, **kwargs)
    259         return self.predict()
    260 

TypeError: fit_transform() missing 1 required positional argument: 'EES'
scottgigante commented 5 years ago

Looks like this has been resolved, I'm running an old version. Apologies.