In parsing_finished_store_data():
In parsing_finished_store_data():

If the table (either xref or object_xref) is empty, $max_val will be
undefined.  Make sure that we substitute 1 for it in this case when
calling add_meta_pair().

at7/ensembl,Ensembl/ensembl,at7/ensembl,mjg17/ensembl,mjg17/ensembl,james-monkeyshines/ensembl,muffato/ensembl,muffato/ensembl,danstaines/ensembl,danstaines/ensembl,james-monkeyshines/ensembl,danstaines/ensembl,at7/ensembl,muffato/ensembl,willmclaren/ensembl,james-monkeyshines/ensembl,james-monkeyshines/ensembl,mjg17/ensembl,muffato/ensembl,at7/ensembl,willmclaren/ensembl,Ensembl/ensembl,mjg17/ensembl,Ensembl/ensembl,Ensembl/ensembl