XiaoTaoWang / NeoLoopFinder

A computation framework for genome-wide detection of enhancer-hijacking events from chromatin interaction data in re-arranged genomes
Other
53 stars 16 forks source link

what 's the version of pomegranate? #56

Open HanwenZhu98 opened 9 months ago

HanwenZhu98 commented 9 months ago

I meet the errror like this: Traceback (most recent call last): File "/cluster/home/Kangwen/anaconda3/envs/Hic/bin/segment-cnv", line 111, in run work.segment( File "/cluster/home/Kangwen/anaconda3/envs/Hic/lib/python3.10/site-packages/neoloop/cnv/segcnv.py", line 167, in segment model = HiddenMarkovModel.from_samples( NameError: name 'HiddenMarkovModel' is not defined

I check it, and find that the error is in the script segcnv at "from pomegranate import NormalDistribution, HiddenMarkovModel"

So,can u tell me how to solve this problem?

XiaoTaoWang commented 8 months ago

It seems that the API has undergone dramatic changes since pomegranate v1.0.0. Can you downgrade your pomegranate to v0.14.8 and try again?