Mercurial > repos > iuc > pygenometracks
view test-data/compare_images.py @ 14:59fd173ac850 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pygenometracks commit b0607963d6cf57fef81c5468e0af914430e7d35b
author | iuc |
---|---|
date | Fri, 26 May 2023 07:54:55 +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)