fixed an error when handling empty lines
Merge branch 'dev' of github.com:intermine/intermine into dev