PyYSPEC: Add a new check to make sure that yspec input file is the same
as the one which exists in the gallery
yspec2grf: changed A to a more generic definition