ivoflipse / Pawlabeling

Tool for processing and analyzing pressure measurements
Other
18 stars 1 forks source link

The average data doesn't filter contacts #119

Closed ivoflipse closed 9 years ago

ivoflipse commented 10 years ago

COP and 2D view don't show a filtered average, even when asked. So probably I need to add an argument to the average calculation, to drop invalid/filtered contacts if the toggle is on.

ivoflipse commented 9 years ago

I've added a check to average_data to skip invalid/filtered contacts if the toggle is flipped (which is passed as an argument to calculate_average_data.

However, I'm starting to worry about race conditions, because pubsub doesn't guarantee the model will be updated first, so I should streamline that.

ivoflipse commented 9 years ago

This should now all be fixed