christophertbrown / iRep

scripts for estimating bacteria replication rates based on population genome copy number variation
MIT License
68 stars 9 forks source link

Bug fix about import fault from command line #14

Closed suzuki-shm closed 6 years ago

suzuki-shm commented 6 years ago

Hello @christophertbrown

In the current implementation, I couldn't call iRep from command line.

$ git clone git@github.com:christophertbrown/iRep.git
$ cd iRep
$ pip install .
$ irep
Traceback (most recent call last):
  File "/Users/suzukishinya/.pyenv/versions/3.6.2_irep/bin/irep", line 18, in <module>
    import iRep.iRep as iRep
  File "/Users/suzukishinya/.pyenv/versions/3.6.2/envs/3.6.2_irep/lib/python3.6/site-packages/iRep/iRep.py", line 34, in <module>
    from mapped import get_reads as mapped
ModuleNotFoundError: No module named 'mapped'

I have fixed this simple import error.

christophertbrown commented 6 years ago

Thanks!