Fit write with list from fit peakfind does not work
To reproduce
spectrum get /data/fheim/2018_AstroJanuar/Efficiency/Ra226/14060.spc
fit peakfind -a 600 6000
fit write ~/tmp.xml
ERROR: 'NoneType' object has no attribute 'items'
Problem is in fitxml.py:224
:
for integral_type, integral in fit.integral.items():
Fit.integral does not exists for peakfind created fits.