-
Notifications
You must be signed in to change notification settings - Fork 147
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
BioC exported from INCEpTION cannot be imported again due to missing mandatory metadata #4533
Comments
Thanks for the report. You are probably trying to re-import a BioC file exported from INCEpTION back into it. The exporter currently has a bug that the Workaround: Until this bug is fixed, you can manually add these elements to your BioC file at the beginning of file. Make sure that both elements actually contains something - they must not be empty:
|
…missing mandatory metadata - Make sure that key, date and source are generated if they are not present in the CAS when writing BioC - Make reading BioC more robust so that it does not fail if key, date or source are missing
…rted-from-INCEpTION-cannot-be-imported-again-due-to-missing-mandatory-metadata #4533 - BioC exported from INCEpTION cannot be imported again due to missing mandatory metadata
* release/31.x: #4533 - BioC exported from INCEpTION cannot be imported again due to missing mandatory metadata
* main: (95 commits) #4556 - Unable to access PMC BioC service #4554 - Allow displaying comments from annotators on hover when curating using curation sidebar on the annotation page #4552 - No details shown when hovering over annotations in lower part of the curation page #4550 - Clean up code #4550 - Clean up code #4547 - Cannot create long-distance relation in PDF editor #4545 - Upgrade dependencies #4545 - Upgrade dependencies #4543 - UI for creating new concept or properties has broken layout #4541 - Upgrade dependencies #4538 - Lazy details and selecting annotations my break after opening a read-only document and not performing actions for a short time #4537 - Ability to group annotations by layer #4533 - BioC exported from INCEpTION cannot be imported again due to missing mandatory metadata [maven-release-plugin] prepare for next development iteration [maven-release-plugin] prepare release inception-31.1 #4530 - Keyboard shortcuts for feature values may not work in certain editors #4528 - Display key bindings in radio group string feature editor #4525 - Support recommendations for non-string primitive features #4523 - Factor endpoint-specific FTS code out into adapter classes #4523 - Factor endpoint-specific FTS code out into adapter classes ... % Conflicts: % inception/inception-dependencies/pom.xml % inception/inception-imls-weblicht/pom.xml % inception/inception-kb/src/main/java/de/tudarmstadt/ukp/inception/kb/KnowledgeBaseServiceImpl.java % inception/inception-project-export/src/test/resources/log4j2-test.xml % inception/inception-recommendation/src/main/java/de/tudarmstadt/ukp/inception/recommendation/tasks/PredictionTask.java % inception/inception-recommendation/src/main/java/de/tudarmstadt/ukp/inception/recommendation/tasks/SelectionTask.java % inception/inception-recommendation/src/main/java/de/tudarmstadt/ukp/inception/recommendation/tasks/TrainingTask.java % inception/inception-ui-curation/pom.xml % inception/inception-ui-dashboard-activity/pom.xml % inception/inception-ui-kb/src/main/java/de/tudarmstadt/ukp/inception/ui/kb/initializers/NamedEntityIdentifierFeatureInitializer.java % inception/inception-ui-scheduling/pom.xml % inception/inception-ui-scheduling/src/main/java/de/tudarmstadt/ukp/inception/ui/scheduling/TaskMonitorPanel.java % pom.xml
When trying to upload a file in Bioc-XML format to Inception, I get a 'source file does not exist' error, see screenshot below:
From the error message, it seems that Inception is looking for the file in /srv/inception/... while I selected the file from my desktop.
This only happens with BioC-XML files, importing a plain text file from my desktop to Inception works as expected.
Please complete the following information:
The text was updated successfully, but these errors were encountered: