Skip to content

Implement CSV export for ExportMultipleFiles tool#383

Open
bkis wants to merge 2 commits into
nilsreiter:masterfrom
bkis:bkis-dev-370
Open

Implement CSV export for ExportMultipleFiles tool#383
bkis wants to merge 2 commits into
nilsreiter:masterfrom
bkis:bkis-dev-370

Conversation

@bkis
Copy link
Copy Markdown
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
Copy Markdown
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