Skip to content

Smoke test for pyami and py4ami

Sagar Jadhav edited this page Sep 30, 2021 · 17 revisions
  • I am running smoke test for pyami on Windows 10.

  • I git cloned pyami, set environment variable and then ran following commands and got following results.

  • python examples.py gl no error

    **

  • python examples.py pd error

    "stat: path should be string, bytes, os.PathLike or integer, not NoneType"

  • Solved above error by editing generic.py line 19 os.stat(path) with os.stat(str(path))

    **

  • Ran again python examples.py pd

  • Now error is (Please, find txt logfile here) logfile

  • I think we need to refer http://net-informations.com/python/err/nonetype.htm and edit symbol.py

    **

  • Second error: when I run pyami --help it opens PyMol (open source molecular visualization system)

    Pymol


py4ami

  • I installed py4ami by pip install py4ami and also did git clone https://github.com/petermr/pyami

  • If I run cd pyami. // root of distrib I get error no such file or directory

  • If I run python -m py4ami.pyamix --examples sl I get error No module named 'test.test_file

Clone this wiki locally