Skip to content
Snippets Groups Projects
Commit a85c0cc1 authored by Olivier Bertrand's avatar Olivier Bertrand
Browse files

update todo list

parent ec6d8fe7
No related branches found
No related tags found
No related merge requests found
0001: Remove DUPLICATE:
Remove DUPLICATE: is_numeric_array is in: Remove DUPLICATE: is_numeric_array is in:
processing.__init__ processing.__init__
and comparing.__init__ and comparing.__init__
...@@ -10,10 +11,46 @@ Remove DUPLICATE: check_scene is in: ...@@ -10,10 +11,46 @@ Remove DUPLICATE: check_scene is in:
Move check_scene, is_numeric_array to: Move check_scene, is_numeric_array to:
processing.__init__ processing.__init__
------------------------------------------------------
0002: Restructure processing:
Move function in processing/__init__ to processing/place_code.py Move function in processing/__init__ to processing/place_code.py
Move function optic_flow in processing/place_code.py to processing/motion_code.py Move function optic_flow in processing/place_code.py to processing/motion_code.py
------------------------------------------------------
0003: Improve database
In the init database I would like to use class properties instead of get/read
line: 263,273,and 394
def create(self)
should be replaced by:
@property
def create(self)
It implies that at every point that self.create() is called should be changed to self.create [Note the absence of parenthesis]
line: 298
def get_posorients(self)
should be replaced by
@property
def posorients(self)
Need to propagate the changes through all the code (see rendering / processing / moving )
------------------------------------------------------
0004: Change every assert by a if () raise TypeError/IOError/KeyError/...
- present in processing
- present in database
------------------------------------------------------
0005: Write test function for raise Error
- for every raise error create a test function, checking that the error is correctly thrown (see moving/test_agent for inspiration)
------------------------------------------------------
0006: Improve comparing/__init__.py
- Change comment in simple_image_diff
- call simple_image_diff in imagediff. you can then remove all the assert (that should be raise Error at that point) from imagediff
- Add comment to diff_optic_flow / add reference to article.
- rename capitalised variable A,ATA, and b as longer variable name [future PEP8 will forbid this]
------------------------------------------------------
0007: Fix test processing
- Fix db in test function such that it work from any location. (probably need to add a module resources and function to load them) - Fix db in test function such that it work from any location. (probably need to add a module resources and function to load them)
- Test are failing WHY??? - Test are failing WHY???
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment