Functions in tstoolbox module not being imported properly

Issue #1 resolved
Kushan Shah created an issue

I'm using Python 2.7.6 and Anaconda 1.7.0 on Ubuntu 12.04. I installed the tstoolbox module via pip and it works fine on the command line. However, when I imported it in IPython and tried using some of the functions, I find that none of the functions are being imported on module import. I used the 'import tstoolbox' command as mentioned in the docs.

dir(tstoolbox) returns ['builtins', 'doc', 'file', 'name', 'package', 'path']

Comments (2)

  1. Tim Cera repo owner

    Thanks!

    Fortunately for me this is a documentation issue.

    Instead of 'import tstoolbox' use 'from tstoolbox import tstoolbox'.

    I changed how I had packaged things and forgot to change the documentation.

    Fixed in my working copy and I will close this bug when I roll out the next release.

    Thank you for trying things out!

    Kindest regards, Tim

  2. Log in to comment