-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Describe the bug
When uploading a file with annotations or a source document file, pycaprio uses a dummy name data to upload the file. This may work in most cases, but there may be UIMA reader components on the INCEpTION side that behave differently depending on the file extension (e.g. when importing RDF data and looking at the extension to see which RDF format is being used). This may currently fail.
Expected behavior
The pycaprio API should be changed such that not only an IO can be passed, but also a file/path object - and if an IO is passed, the caller should be able to pass the original file name along in the call.
Please complete the following information:
- Version: 0.2.1
Metadata
Metadata
Assignees
Labels
🐛BugSomething isn't workingSomething isn't working