Example #1
1
 private static String getAbsoluteExecutablePath(final Config config) {
   if (Strings.isNullOrEmpty(config.getWrapperScript())) {
     return "";
   }
   return FileUtilities.getAbsoluteFileForExecutables(new File(config.getWrapperScript()))
       .getPath();
 }
Example #2
0
 @Override
 public Worker create(final Config config, final DependencyResolver dependencies) {
   final MSMSEvalWorker worker = new MSMSEvalWorker();
   worker.setMsmsEvalExecutable(
       FileUtilities.getAbsoluteFileForExecutables(new File(config.get(MSMS_EVAL_EXECUTABLE))));
   worker.setConverter(getConverter());
   return worker;
 }