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

Implement CSV export for ExportMultipleFiles tool #383

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bkis
Copy link
Collaborator

@bkis bkis commented Dec 13, 2021

This PR implements a CSV export for the ExportMultipleFiles command line tool.
It uses the existing CsvExportPlugin, modified to use the existing default option values in case there is no Annotator instance running to pull option values from (which is the case in command line context).

There was also some code formatting done in CsvExportPlugin to maintain a more readable 100 char code width and tidy up some sprawling method calls.

Also, a mention of the stats option was added to the --help output of the ExportMultipleFiles tool, as it was missing but the export of stats seems to work fine. The info for qdtei is missing, too. But I cannot judge whether this one works as intended or is still a work-in-progress feature.

This would close #370.

@bkis bkis added the enhancement New feature or request label Dec 13, 2021
@bkis bkis requested a review from nilsreiter December 13, 2021 10:22
... to properly recognize `.ca2z` files. Output file naming by `input`
was broken because of this.
@bkis
Copy link
Collaborator Author

bkis commented Dec 16, 2021

The added commit (3174063) fixes the accepted input file names (for generating output file names from them) to include .ca2z files. A demo of the used RegEx can be seen here.

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

Successfully merging this pull request may close these issues.

Command line CSV export
2 participants