Skip to content

Commit

Permalink
remove condition of key value metadata when uploading file
Browse files Browse the repository at this point in the history
  • Loading branch information
khansadaoudi committed Jul 19, 2024
1 parent 6bc9a11 commit cde420b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/components/project/UploadDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,6 @@ export default defineComponent({
notifyError({ error: `${sampleName} contains empty line that doesn't start with a digit or # ` });
this.formatError = true;
}
if (Object.values(sentenceConllToJson(sentence)['metaJson']).some((metaVal) => metaVal == undefined)) {
notifyError({ error: `${sampleName} contains sentence with empty metadata value` });
this.formatError = true;
}
},
triggerFormatErrors() {
this.samplesWithoutSentIds.forEach((sampleName) => {
Expand Down

0 comments on commit cde420b

Please sign in to comment.