openworm / tracker-commons

Compilation of information and code bases related to open-source trackers for C. elegans
11 stars 12 forks source link

Python speedfix2 #77

Closed MichaelCurrie closed 8 years ago

MichaelCurrie commented 8 years ago

This commit is the improved PR #68 .

I can't figure out how to get the zip commits to not appear here, so that both the zipfiles and python_speedfix2 branches just show their respective commits relative to master.

Instead, as you can see below, the commits below include those for zipfiles. Perhaps if zipfiles is merged with master, those commits will disappear here.

Ichoran commented 8 years ago

Can you rebase on master now that I've merged zipfiles? (Don't bother closing the PR, just rebase and push -f.)

MichaelCurrie commented 8 years ago

OK done:

git checkout master
git pull
git checkout python_speedfix2
git rebase master
git push -f

This PR should pass the Travis-CI tests. @Ichoran please merge if you don't have any code objections and if the CI tests pass.

Ichoran commented 8 years ago

Looks like 3.4 is still grumpy?

MichaelCurrie commented 8 years ago

Yes, I'll work on this. Don't merge yet :)

MichaelCurrie commented 8 years ago

After no success duplicating the issue, I just asked Travis-CI to re-run the 3.4 job with the same commit and it worked this time. I suspect this is because the odict representation of your 90 worms is not necessarily getting saved in the same order each time, and so the file comparison is saying the saved files are not identical. I will write more unit tests on this topic. But guaranteeing identical save files is really an extra, nice-to-have feature anyway, and another PR for another day. This one can be merged.