Merged glyr.py and metadata.py