Open Leahh02 opened 2 weeks ago
I think lines 100-105 of beeflow/common/config_driver.py also need to be put in a "while true" block, so it would look like:
while True:
try:
with open(USERCONFIG_FILE, encoding='utf-8') as fp:
config.read_file(fp)
break
except FileNotFoundError:
print("Configuration file is missing! Generating new config file.")
new(USERCONFIG_FILE)
Right now if you run
beeflow config new
and you don't have an existing config file you'll get a bunch of output after the config file is saved. Here's an example that's edited down:I commented out lines 19-27 of beeflow/common/deps/neo4j_manager.py and lines 9-11 of beeflow/common/gdb/graphml_key_updater.py and I wasn't getting the output anymore. Maybe these lines should be moved inside a function so they're not run when the modules are imported.