MarkSeliverstov / MFF-bachelor-work

CUNI MFF | Bachelor project
MIT License
1 stars 0 forks source link

Fix loading of ei-config.json #5

Closed skodapetr closed 3 months ago

skodapetr commented 6 months ago

The configuration file is loaded using config = Config.from_file("ei-config.json"). As a result the path from the directory from which the script is executed is loaded. Instead we should load the configuration file from the input directory.

EDIT: Anyway it would be nice to have an ability to specify the path (override the default path) using CLI switch. This can be handy when the configuration file is not part of a repository.