You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just wanted to report that if the pamRespectsDendro is set to false cutreeHybrid crashes as it seems to not find df_apply even thought it's loaded when importing dynamicTreeCut
from dynamicTreeCut.dynamicTreeCut import cutreeHybrid
clusters = cutreeHybrid(link, distM=distance, minClusterSize=min_module_size, pamRespectsDendro=False)['labels']
will result in the following error:
..cutHeight not given, setting it to 0.8541350079439015 ===> 99% of the (truncated) height range in dendro.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/spies.daniel/.conda/envs/cellrank/lib/python3.9/site-packages/dynamicTreeCut/dynamicTreeCut.py", line 775, in cutreeHybrid
nearest = df_apply.apply(np.argmin, UnassdToClustDist, 1)
NameError: name 'df_apply' is not defined
apparently this is linked to potential NaNs as with another dataset it actually worked without any fuss
The text was updated successfully, but these errors were encountered:
Hi there, thanks for the great tool!
I just wanted to report that if the pamRespectsDendro is set to false cutreeHybrid crashes as it seems to not find df_apply even thought it's loaded when importing dynamicTreeCut
will result in the following error:
apparently this is linked to potential NaNs as with another dataset it actually worked without any fuss
The text was updated successfully, but these errors were encountered: