When running the Executor, following progress bars appears:
But actually there should be only one progress bar. If I delete from hamlet.creator.setup import Creator in HAMLET\hamlet\__init__.py, I got the right version of the progress bar:
My assumption is that it's because the progress bar in class Creator is initialized outside of the __init__() function of the Creator:
But if I move progress_bar = tqdm() into the def __init__() as self.progress_bar = tqdm(), I got the following error while creating the scenario:
When running the Executor, following progress bars appears: But actually there should be only one progress bar. If I delete
from hamlet.creator.setup import Creator
inHAMLET\hamlet\__init__.py
, I got the right version of the progress bar: My assumption is that it's because the progress bar in class Creator is initialized outside of the__init__()
function of the Creator: But if I moveprogress_bar = tqdm()
into thedef __init__()
asself.progress_bar = tqdm()
, I got the following error while creating the scenario: