From 91e47a812d390493222609342da01187eb738ec8 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Tue, 28 Apr 2020 21:09:22 -0400 Subject: [PATCH] fix bug --- edaac/metrics/parsers/innovus_log.py | 4 ++-- edaac/version.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/edaac/metrics/parsers/innovus_log.py b/edaac/metrics/parsers/innovus_log.py index 79dffcf..bde6cf4 100644 --- a/edaac/metrics/parsers/innovus_log.py +++ b/edaac/metrics/parsers/innovus_log.py @@ -22,11 +22,11 @@ def _time_string_to_seconds(time): - hour, minute, second = list(map(int, time.split(':'))) + hour, minute, second = list(map(float, time.split(':'))) return second + minute*60 + hour*60*60 def _time_string_to_minutes(time): - hour, minute, second = list(map(int, time.split(':'))) + hour, minute, second = list(map(float, time.split(':'))) return second/60.0 + minute + hour*60 def parse_innovus_log(log_file_path): diff --git a/edaac/version.py b/edaac/version.py index c3452c4..484f3de 100644 --- a/edaac/version.py +++ b/edaac/version.py @@ -17,7 +17,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ''' -__version__ = '0.0.14' +__version__ = '0.0.15' def version(): print("EDA Analytics Central (EDAAC) v" + __version__) \ No newline at end of file