You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: