Browse Source

fixed stupid gui bug

master
Holger Frey 5 years ago
parent
commit
d1934d5d95
  1. 4
      sartorius_logger/__init__.py

4
sartorius_logger/__init__.py

@ -14,7 +14,7 @@ from datetime import datetime
from tqdm import tqdm from tqdm import tqdm
from .datalogger import DataLogger, NullLogger from .datalogger import DataLogger, NullLogger
from .parsers import parse_cli_arguments from .parsers import parse_cli_arguments, parse_gui_arguments
try: try:
from gooey import Gooey from gooey import Gooey
@ -183,7 +183,7 @@ def cli():
@Gooey(program_name="SartoriusLogger") @Gooey(program_name="SartoriusLogger")
def gui(): def gui():
settings = parse_cli_arguments() settings = parse_gui_arguments()
log_file_path = _get_log_file_path(settings) log_file_path = _get_log_file_path(settings)
result = measure_series( result = measure_series(
settings, progress_bar=tqdm, data_logger=DataLogger(log_file_path) settings, progress_bar=tqdm, data_logger=DataLogger(log_file_path)

Loading…
Cancel
Save