hiclib / pastis

Poisson-based algorithm for stable inference of DNA Structure
http://hiclib.github.io/pastis/
Other
34 stars 15 forks source link

questions about running the test #54

Closed PACOYANG2019 closed 4 years ago

PACOYANG2019 commented 4 years ago

when I run below: python test_config.py

The error occur like this: File "test_config.py", line 1, in from pastis import config File "/home/yang/.local/lib/python2.7/site-packages/pastis/init.py", line 4 f1rom . import fastio

NelleV commented 4 years ago

Hello, The file test_config.py is not meant to be run by calling python directly on it. These are unit tests as part of the package, and should be run with a test runner or collector such as pytest or nosetest. See https://docs.python-guide.org/writing/tests/ for more information on unit tests. Thanks, Nelle

PACOYANG2019 commented 4 years ago

Thank you for your attention. If there has a document with more details about using pastis? I want to konw how to use it to deal with a HIC data. And the error I'ved mentioned occured when I run below: pastis-mds example. Thanks a lot.