wq_graph print line number of invalid values
Merge pull request #423 from btovar/wq_graph_better_error_check

wq_graph print line number of invalid values