diff options
author | Walther Neuper <neuper@neuper.(none)> | 2009-12-16 12:51:15 (GMT) |
---|---|---|
committer | Walther Neuper <neuper@neuper.(none)> | 2009-12-16 12:51:15 (GMT) |
commit | b18c2a761a18e29ee1826ee84374007e8752935f (patch) | |
tree | 1ce3d045dc3c9065135596ef89a5358e42da94b7 | |
parent | 62adac3d6e39b19994b8f0c08f3109aee0155929 (diff) |
debug settings_table, before resize butts at bottom
-rwxr-xr-x | ReckonPrimer.activity/coach.py | 13 | ||||
-rwxr-xr-x | ReckonPrimer.activity/display.py | 1 |
2 files changed, 7 insertions, 7 deletions
diff --git a/ReckonPrimer.activity/coach.py b/ReckonPrimer.activity/coach.py index ceae232..3406c08 100755 --- a/ReckonPrimer.activity/coach.py +++ b/ReckonPrimer.activity/coach.py @@ -18,13 +18,12 @@ class Coach: self._dis = dis self._collect = collect self._learner = learner -# print('in coach.register, exaddsimp =', self._collect.select(0)) -# print('in coach.register, exaddsimp._display =', self._collect.select(0)._display) -# print('in coach.register, expassten =', self._collect.select(1)) -# print('in coach.register, extimesdiv=', self._collect.select(2)) -# print('in coach.register, =') -# print('in coach.register, =') -# print('in coach.register, =') + print('in coach.register, exaddsimp =', self._collect.select(0)) + print('in coach.register, exaddsimp._display =', self._collect.select(0)._display._testvar) + print('in coach.register, expassten =', self._collect.select(1)) + print('in coach.register, expassten._display =', self._collect.select(1)._display._testvar) + print('in coach.register, extimesdiv=', self._collect.select(2)) + print('in coach.register, extimesdiv._display=', self._collect.select(2)._display._testvar) def request_exercise(self): """ This preliminary version just lets the Learner select. """ diff --git a/ReckonPrimer.activity/display.py b/ReckonPrimer.activity/display.py index b94020e..982924d 100755 --- a/ReckonPrimer.activity/display.py +++ b/ReckonPrimer.activity/display.py @@ -27,6 +27,7 @@ class Display: self.running = False # switch settings_/feedback_table TODO rename self._coll_key = None # semaphore for self.finish_collect_callback # and Collection.select_exerc_callback + self._testvar = 'FOUND' def register(self, sess, co, learner): """register _after_ Session and Coach have been instantiated""" |