MAINT: Calculator abinit.py: fix for abinit 8.2 reading number of SCF cycles.
The message e.g.
At SCF step 5 nres2 = 6.83E-10 < tolvrs= 3.68E-08 =>converged.
does not contain any comma, and can not therefore be split. The 3rd token is the number. The 'try except' could even be avoided into a single statement:
niter = int(line.split()[3].strip())
which is probably easier to understand, and does not use try.