malawski / cloudworkflowsimulator

Other
24 stars 20 forks source link

Fix parsing of budget and deadline in logs #134

Closed davidshepherd7 closed 9 years ago

davidshepherd7 commented 9 years ago

Couldn't parse exponential notation correctly because too simple a regex was used. Fix by grabbing the rest of the line (.*$ instead of \d+.\d+) and letting pythons float() function do the real parsing.

[ Sorry if the volume of pull requests was annoying, this is the last one for a while I promise! ]