Hi,
in pyFoamCaseReport the time option expects float. Another option like timeInt which expects integers would be quite helpfull.
Maybe something like
select.add_option("--timeInt",
action="store",
type="int",
default=None,
dest="time",
help="Time to use as the basis for the reports")
I am not sure if this is needed for the other tools as well!?
Fabian
I don't quite get the purpose of this. All times that happen to be integers also are floats so they are selectable
I need to re-check what I did at office, but when they become float, they have trouble with time entries in integer format, like setting time=0
this becomes internally 0.0
That is right. But as far as I remember the case-reporter looks for the timestep that is "nearest" and therefor should find the right (interger) timedata