[miso-users] AttributeError: 'module' object has no attribute 'MISO_ALGO_CLASSES'

Yarden Katz yarden at MIT.EDU
Wed Jun 5 17:48:08 EDT 2013


Hi Matt,

Could it be that there are a number of miso versions installed on your system?  MISO_ALGO_CLASSES was introduced in later versions and will not exist in previous ones, and that might explain the error. 

What version do you when you type:

$ python
>>> misopy.__version__

best, --Yarden



On Jun 5, 2013, at 5:31 PM, Matthew B. Johnson wrote:

> Hi all - 
> I am not too familiar with python, and after installing miso ran the test_miso.py script and got this error at the last step. I got the same error running run_events_analysis.py on my own data. Any help would be greatly appreciated!
> Thanks,
> Matt
> 
> Executing: python /home/mbj2/misopy-0.4.9/misopy/run_events_analysis.py  --compute-genes-psi /home/mbj2/misopy-0.4.9/misopy/gff-events/mm9/genes/Atp2b1/indexed /home/mbj2/misopy-0.4.9/misopy/test-output/sam-output/c2c12.Atp2b1.sorted.bam --output-dir /home/mbj2/misopy-0.4.9/misopy/test-output/gene-psi-output --read-len 35 
> Traceback (most recent call last):
>   File "/home/mbj2/misopy-0.4.9/misopy/run_events_analysis.py", line 16, in <module>
>     import misopy.run_miso as run_miso
>   File "/home/mbj2/.local/lib/python2.6/site-packages/misopy/run_miso.py", line 18, in <module>
>     import misopy.miso_sampler as miso
>   File "/home/mbj2/.local/lib/python2.6/site-packages/misopy/miso_sampler.py", line 169, in <module>
>     class MISOSampler:
>   File "/home/mbj2/.local/lib/python2.6/site-packages/misopy/miso_sampler.py", line 210, in MISOSampler
>     algorithm=pysplicing.MISO_ALGO_CLASSES,
> AttributeError: 'module' object has no attribute 'MISO_ALGO_CLASSES'
> .
> ----------------------------------------------------------------------
> Ran 3 tests in 2.133s
> 
> OK
> 
> 
> 
> _______________________________________________
> miso-users mailing list
> miso-users at mit.edu
> http://mailman.mit.edu/mailman/listinfo/miso-users




More information about the miso-users mailing list