I just wanted to alert you to some issues relating to the examples in your latest docs.
As part of my review for JOSS, I needed to check that the functionality of the package matches that described in the paper and in the the documentation. I installed traja using pip and ran several examples in order to check the functionality of the package. Whilst the vast majority of the examples ran without a hitch, I hit a snag when I reached the section in the latest Traja documentation entitled 'Predicting Trajectories'. The code I ran and the error messages can be seen below.
In [1]: import traja
...:
...: df = traja.dataset.example.jaguar()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-1-893a88ccfd56> in <module>
1 import traja
2
----> 3 df = traja.dataset.example.jaguar()
AttributeError: module 'traja' has no attribute 'dataset'
In [2]: from traja.models.predictive_models.lstm import LSTM
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-2-5a1f2cfeee79> in <module>
----> 1 from traja.models.predictive_models.lstm import LSTM
ModuleNotFoundError: No module named 'traja.models.predictive_models'
In [3]: from traja.models.train import HybridTrainer
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-3-33f84f9a8f5b> in <module>
----> 1 from traja.models.train import HybridTrainer
ModuleNotFoundError: No module named 'traja.models.train'
Upon further investigation, I learned that some of these modules were not included in the version available on PyPI (0.2.3) but are available in the development version (0.2.5). I installed the development version and attempted to run the examples. Again, this did not go perfectly smoothly.
Hi Traja Team,
I just wanted to alert you to some issues relating to the examples in your latest docs.
As part of my review for JOSS, I needed to check that the functionality of the package matches that described in the paper and in the the documentation. I installed traja using pip and ran several examples in order to check the functionality of the package. Whilst the vast majority of the examples ran without a hitch, I hit a snag when I reached the section in the latest Traja documentation entitled 'Predicting Trajectories'. The code I ran and the error messages can be seen below.
Upon further investigation, I learned that some of these modules were not included in the version available on PyPI (0.2.3) but are available in the development version (0.2.5). I installed the development version and attempted to run the examples. Again, this did not go perfectly smoothly.