huangyh09 / briekit

Preprocessing tool kit of BRIE project in splicing analysis
https://brie.readthedocs.io/en/latest/briekit.html
Apache License 2.0
2 stars 2 forks source link

parseTables Error #8

Open cassidmm opened 9 months ago

cassidmm commented 9 months ago

Hi there,

I was hoping to use briekit to generate a splicing event annotation file for t. I am getting the following error:

File "~/site-packages/briekit/events/event_maker.py", line 11, in import parseTables as parseTables ModuleNotFoundError: No module named 'parseTables'

I'm using python v2.7 and numpy 1.13.0 as per the recommendations in the manual.

Wondering how I might resolve this error? Thanks in advance!

huangyh09 commented 9 months ago

Thanks. Usually, in Python 2, the line 11 should work. https://github.com/huangyh09/briekit/blob/master/briekit/events/event_maker.py#L11

Otherwise, you can change it to

import .parseTables as parseTables

Yuanhua

cassidmm commented 9 months ago

Thanks for your suggestion! Unfortunately that did not work, but I was able to get it working by adding the following to event_maker.py

file_dir = os.path.dirname(parseTables.py)

sys.path.append(file_dir)

before import parseTables as parseTables

Thanks again!