-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correctly handle float
in (Slurm|PBS)IO._convert_time_to_str
#41
Conversation
Thanks! |
yes, meant to do that but forgot |
Thx @janosh |
rounding is probably more hassle than it's worth
just to catch if the functionality ever changes in the future. now we'll be alerted, even if it's not intended behavior. i'll add a comment to this effect |
All good to me! (agreed that rounding is not worth ;)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx!
Thanks! |
to set the time limit to half a day, i was using
and encountered
this PR changes
another option worth considering would be
if isinstance(time, float):