Mercurial > repos > iuc > pygenometracks
view test-data/compare_images.py @ 15:36b848d5f3ec draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pygenometracks commit 7df009cda0bc57c6891fc5273b2440db6fcf5719
author | iuc |
---|---|
date | Tue, 12 Mar 2024 10:28:03 +0000 |
parents | 4ac4e7083b7e |
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)