Mercurial > repos > iuc > pygenometracks
view test-data/compare_images.py @ 15:c7af51147b55 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pygenometracks commit 9fdf4ad9c2a9c026720e2b01460b7ac85056b068
| author | iuc |
|---|---|
| date | Wed, 01 Oct 2025 19:34:28 +0000 |
| parents | 345d24273a58 |
| children |
line wrap: on
line source
import os from matplotlib.testing.compare import compare_images pngs = [f for f in os.listdir('test-data') if f.endswith('.png')] for png in pngs: print(png) res = compare_images(os.path.join('test-data', png), os.path.join('outputs', png), 17) print(res)
