Xinglab / rmats2sashimiplot

GNU General Public License v2.0
132 stars 54 forks source link

2to3.sh not working #127

Open AleixPalahi opened 4 months ago

AleixPalahi commented 4 months ago

Hi!

I have been trying to run rmats2sashimiplot on Python3.8.7 and have encountered issues that I do not know how to solve.

After installing all dependencies in a virtual environment (I verified they work) and cloning the rmats2sashimiplot repository, I ran 2to3.sh. Just to be clear, all this is before installing rmats2sashimiplot.

RefactoringTool: There were 2 errors:
RefactoringTool: Can't parse src/MISO/misopy/gff_utils.py: ParseError: bad input: type=22, value='=', context=('', (304, 70))
RefactoringTool: Can't parse src/rmats2sashimiplot/rmats2sashimiplot.py: ParseError: bad input: type=22, value='=', context=('', (280, 39))

What could be going wrong? Should I run 2to3.sh after installing rmats2sashimiplot?

Thanks in advance for the help.

Cheers, Aleix

EricKutschera commented 4 months ago

I tested cloning a new copy of rmats2sashimiplot and running 2to3.sh with python3.8. The first run of 2to3.sh worked. Then I ran it a second time and got the same error message

You could clone a new copy of rmats2sashimiplot and then run 2to3.sh just once. After that you can install rmats2sashimiplot