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

Add flag to turn on/off "special workflow" detection in auto config script #465

Open
CKrawczyk opened this issue Jul 12, 2021 · 1 comment

Comments

@CKrawczyk
Copy link
Collaborator

This came up recently with workflow 16890 (v4.9) task 29. The task is set up as a drawing task with several line tools, each tool has its own text task as a subtask. The workflow config script detects a line tool with text subtask as a transcription task, but that makes the assumption that there is only one drawing tool. As there are multiple tools in this case this is a false positive and should not be marked as a transaction task.

In the (near) future there will be a transcription tasks type that can be detected separate from other configs, but for backwards compatibility with projects like ASM, these kinds of auto-detections should not be removed from the code. I expect the easiest thing to do is add a command-line flag for turning on/off "special workflow" detection. The default should be off as these special workflows are less likely to be the case than typical setups.

@CKrawczyk
Copy link
Collaborator Author

List of special workflows that are auto-detected:

  • Shakespeare's World
    • tasks == {'init': {'question': 'init.question', 'type': 'single', 'answers': []}}
  • AnnoTate
    • tasks T0's name starts with annotate-
  • poly_line_text_extractor/reducer
    • polygon drawing tool with text task as first subtask
  • line_text_extractor/reducer
    • line drawing tool with text task as first subtask

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

No branches or pull requests

1 participant