Fixes issue with emtpy tables if data points are missing. Fixes #1197
Test catches raised error when data points are missing. Fixes #1197.
Fixed script usage test
Fixed contrib
Stylistic fix
Fixed script usage strings
Merge pull request #1255 from cleme/issue1197

Fixes issue with emtpy tables if data points are missing. Fixes #1197