diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-03-11 14:08:21 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-03-11 14:08:21 +0100 |
commit | 1e29075c9f625947a82c86d7304ed20eb6f06e64 (patch) | |
tree | 789b3fe8b253c0069b97d5c47e625513ee37a32c /bin | |
parent | 3a6089bc4258e884b5ce909538b2f49a3dc87e78 (diff) |
Move Logfile and CSVfile from utils to a new loader class
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/analyze-log.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/analyze-log.py b/bin/analyze-log.py index 1deb438..dd32fab 100755 --- a/bin/analyze-log.py +++ b/bin/analyze-log.py @@ -10,6 +10,7 @@ import dfatool.cli import dfatool.plotter import dfatool.utils import dfatool.functions as df +from dfatool.loader import Logfile, CSVfile from dfatool.model import AnalyticModel from dfatool.validation import CrossValidator from functools import reduce @@ -22,9 +23,9 @@ import time def parse_logfile(filename): if ".csv" in filename: - loader = dfatool.utils.CSVfile() + loader = CSVfile() else: - loader = dfatool.utils.Logfile() + loader = Logfile() if filename.endswith("xz"): import lzma |