matthewjohnpayne / sifter

MIT License
1 stars 1 forks source link

Lots of progress #4

Closed Mikea1985 closed 4 years ago

Mikea1985 commented 4 years ago

I fixed up precalc, so that it can now handle being given a long list of observations, figure out which observations compose a tracklet, parse them and calculate the location of observer etc. As far as I can tell, all the functions work as expected except save_tracklets; the sql complains something about "OperationalError: no such table: tracklets"

Other changes:

matthewjohnpayne commented 4 years ago

Questions / Comments (1) Thanks for all of your work to whip this into shape (2) The setup.py points to trippy, so that should be updated (3) How are you getting the test_tracklets.py to work: are you already installing sifter as a package at that point? When I attempt to run test_tracklets.py, I get messages to the effect that ...

ImportError while importing test module '/Users/matthewjohnpayne/Envs/sifter/tests/test_tracklets.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: tests/test_tracklets.py:26: in from sifter import precalc, sql E ModuleNotFoundError: No module named 'sifter'