BD2KOnFHIR / NLP2FHIR

NLP2FHIR: A FHIR-based Clinical Data Normalization Pipeline and Its Applications
59 stars 15 forks source link

NLPTOFHIR Annotator Error #13

Open RokshanJ opened 3 years ago

RokshanJ commented 3 years ago

@qqndrew I am getting this error while running Annotator main class

Exception in thread "main" org.apache.uima.resource.ResourceInitializationException: Invalid value for parameter "InputDirectory" in component "edu.mayo.bsi.nlp2fhir.preprocessors.FHIRXMIFileSystemReader" -- directory "xmis" does not exist. at org.apache.ctakes.core.cr.XmiCollectionReaderCtakes.initialize(XmiCollectionReaderCtakes.java:81) at org.apache.uima.collection.CollectionReader_ImplBase.initialize(CollectionReader_ImplBase.java:70) at org.apache.uima.impl.CollectionReaderFactory_impl.produceResource(CollectionReaderFactory_impl.java:103) at org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62) at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:279) at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:331) at org.apache.uima.UIMAFramework.produceCollectionReader(UIMAFramework.java:812) at org.apache.uima.fit.pipeline.SimplePipeline.runPipeline(SimplePipeline.java:133) at edu.mayo.bsi.nlp2fhir.Pipeline.main(Pipeline.java:114)

qqndrew commented 3 years ago

This error typically suggests that the directory parameter you supplied for input does not exist.