Commit edaa3b1a authored by Aaron Petkau's avatar Aaron Petkau

Removing need to implement getWorkflowsPath

parent fd08f598
package ca.corefacility.bioinformatics.irida.plugin.amrdetection;
import java.net.URISyntaxException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Optional;
import java.util.UUID;
......@@ -14,7 +11,6 @@ import org.pf4j.PluginWrapper;
import ca.corefacility.bioinformatics.irida.model.workflow.analysis.type.AnalysisType;
import ca.corefacility.bioinformatics.irida.pipeline.results.updater.AnalysisSampleUpdater;
import ca.corefacility.bioinformatics.irida.plugins.IridaPlugin;
import ca.corefacility.bioinformatics.irida.plugins.IridaPluginException;
import ca.corefacility.bioinformatics.irida.service.sample.MetadataTemplateService;
import ca.corefacility.bioinformatics.irida.service.sample.SampleService;
......@@ -44,15 +40,6 @@ public class AMRDetectionPlugin extends Plugin {
return Optional.of(new AMRDetectionUpdater(metadataTemplateService, sampleService));
}
@Override
public Path getWorkflowsPath() throws IridaPluginException {
try {
return Paths.get(AMRDetectionPlugin.class.getResource("workflows/").toURI());
} catch (URISyntaxException e) {
throw new IridaPluginException("Error converting path from in jar", e);
}
}
@Override
public AnalysisType getAnalysisType() {
return AMR_DETECTION;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment