MZTolerance mzTolerance, int numOfResults, ParameterSet parameters)
throws IOException {
Range toleranceRange = mzTolerance.getToleranceRange(mass);
MetlinServiceLocator locator = new MetlinServiceLocator();
MetlinPortType serv;
try {
serv = locator.getMetlinPort();
} catch (ServiceException e) {
throw (new IOException(e));
}
// Search mass as float[]