We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As noted in #195, it should be possible to set the path to projects.cfg using a command line option. For example like this:
projects.cfg
annif --projects /etc/annif/projects.cfg analyze tfidf-en <file.txt
Or just annif -p /etc/annif/projects.cfg as a shortcut
annif -p /etc/annif/projects.cfg
The text was updated successfully, but these errors were encountered:
Note: The application context via current_app is not available in callbacks: pallets/flask#2410
current_app
For this reason the with: block in set_project_config_file_path() is needed: https://github.com/NatLibFi/Annif/blob/master/annif/cli.py#L80
with:
set_project_config_file_path()
Sorry, something went wrong.
juhoinkinen
No branches or pull requests
As noted in #195, it should be possible to set the path to
projects.cfg
using a command line option. For example like this:Or just
annif -p /etc/annif/projects.cfg
as a shortcutThe text was updated successfully, but these errors were encountered: