HassanEmam / PyP6Xer

XER parser
http://www.emam.me
GNU Lesser General Public License v2.1
39 stars 19 forks source link

TaskPred lag_hr_cnt #11

Open jhuamani opened 2 years ago

jhuamani commented 2 years ago

Hi @HassanEmam, I've noticed through exploring a set of XER files that the lag_hr_cnt field within the TASKPRED table may contain float values. This results in a ValueError when attempting to use the Reader since line 31 of taskpred.py is int(params.get('lag_hr_cnt').strip()). Would it be possible to update this line to float instead of int?

HassanEmam commented 2 years ago

@jhuamani

Well spotted, yes I will update this in the next release.

scotthulluk commented 9 months ago

The latest PIP package (1.15.0) does not include this fix, any chance you can update the PIP package?

Workaround for now... pip install git+https://github.com/HassanEmam/PyP6Xer.git