Fix issue 5124

Beam information on consecutive lines with units
Merge pull request #15 from AntoniaR/patch-1

Fix issue 5124