2009/10/20 Stéfan van der Walt
<stefan@sun.ac.za>
2009/10/19 Ralf Gommers <ralf.gommers@googlemail.com>:
> This is why I originally put my test images for io under io/tests. I thought
> data_dir should only contain images for examples, useful for users. Images
> for testing algorithms can often be small. For the color conversion I now
> use images of size (4, 2, 3), which means they take no time at all.
The idea is for each package to use the same pool of images, so that
we don't have to include data-files in each sub-package. If needed,
we could put them in subdirectories under data to show what they were
intended for.
Sure that makes sense. It would be good if data_dir has only "nice" images. I can rearrange them today, either in one subdir per module or simply one new data_dir/testdata.
Cheers,
Ralf
Cheers
Stéfan