Ben - blimey, its huge!
got the raw .py code?
if anyone wants I wrote a bash script to do this - its good for extracting penelope/penepma data and aggregating the errors, but the 2015, roll-your-own, PENEPMA makes it kind of moot as it does (nearly) all the donkey work for you. For penmain/penelope, its still useful (as is Ben's)
John, do you know where PENEPMA stores the line data? i.e what line it is and what the energies are? I've looked through the tables and its not instantly obvious (you kind of need this to set the uncertainty limits (ILB4), so I guess its there somewhere?)