Make fiologparser_hist compatible with python3
authorBryce Guinta <bryce.guinta@seagate.com>
Tue, 6 Feb 2018 00:36:33 +0000 (17:36 -0700)
committerBryce Guinta <bryce.guinta@seagate.com>
Tue, 6 Feb 2018 20:47:41 +0000 (13:47 -0700)
commitbb36ebad32a8fc50cb11f5bb661064754cc0e54e
tree75e35d8eba0bc47c690dd1160d0e8f6939416135
parentf5ec81235eaf21bd3a97556427d4a84e48a87e54
Make fiologparser_hist compatible with python3

In python3, map functions return generators, which caused numpy to break
in this script.

Use list comprehensions instead of map (more pythonic)
They also have the added benefit of behaving the same
between python2 and python3.
tools/hist/fiologparser_hist.py