Skip to content
New issue

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

reimporting is unintuitive #54

Open
martinpopel opened this issue Nov 19, 2015 · 0 comments
Open

reimporting is unintuitive #54

martinpopel opened this issue Nov 19, 2015 · 0 comments

Comments

@martinpopel
Copy link
Collaborator

Background: If a new metric was added or its implementation was changed, the only way (I am aware of) how to update scores of already imported experiments is to re-import them (after git pull).
So you need to remove the experiments (and tasks) in question and import them again. You can remove the experiments with the "delete" button in the interface or (if you have disabled the button) manually. However, if you forget to delete the experiments from SQL and just delete the subdirectories of data, you will get strange error <TASK> has bad number of sentences when reimporting.

Solution: detect that we are importing a task which is already imported in the SQL database and provide a more informative error message than "bad number of sentences".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant