Dynamic grind workspaces

This commit is contained in:
Alexander Nozik 2017-08-26 14:26:48 +03:00
parent 605e3536b5
commit edc1c59739
9 changed files with 13 additions and 13 deletions

View File

@ -93,7 +93,7 @@ public class PKT8Device extends PortSensor<PKT8Result> {
return LoaderFactory.buildPointLoder(storage,
"cryotemp_" + suffix, "", "timestamp", getTableFormat());
} catch (StorageException e) {
throw new RuntimeException("Failed to build loader from storage", e);
throw new RuntimeException("Failed to builder loader from storage", e);
}
}

View File

@ -231,7 +231,7 @@ public class MspDevice extends Sensor<Values> implements PortHandler.PortControl
}
/**
* A helper method to build msp command string
* A helper method to builder msp command string
*
* @param command
* @param parameters

View File

@ -209,7 +209,7 @@ public class NumassDataUtils {
// double corrFactor = 1 + beta;
// res.row(reader.buildSpectrumDataPoint(reader.getX(dp).doubleValue() * corrFactor, reader.getCount(dp), reader.getTime(dp)));
// }
// return res.build();
// return res.builder();
// }
//
public static SpectrumDataAdapter adapter() {
@ -234,7 +234,7 @@ public class NumassDataUtils {
// double corrFactor = 1 / (1 - dtime * adapter.getCount(dp) / adapter.getTime(dp));
// res.row(adapter.buildSpectrumDataPoint(adapter.getX(dp).doubleValue(), (long) (adapter.getCount(dp) * corrFactor), adapter.getTime(dp)));
// }
// return res.build();
// return res.builder();
// }
//
// public static double countRateWithDeadTime(NumassPoint p, int from, int to, double deadTime) {

View File

@ -84,7 +84,7 @@ public class NumassStorage extends FileStorage {
// loaders.put(getFileName(file),
// FilePointLoader.fromFile(this, file, true));
// } catch (Exception ex) {
// getLogger().error("Failed to build numass point loader from file {}", file.getName());
// getLogger().error("Failed to builder numass point loader from file {}", file.getName());
// }
} else {
//updating non-numass loader files

View File

@ -185,7 +185,7 @@ public class NumassPlugin extends BasicPlugin {
manager.addModel("scatter-empiric-variable", (context, an) -> {
double eGun = an.getDouble("eGun", 19005d);
//build transmisssion with given data, annotation and smoothing
//builder transmisssion with given data, annotation and smoothing
UnivariateFunction interpolator = buildInterpolator(context, an, eGun);
VariableLossSpectrum loss = VariableLossSpectrum.withData(interpolator, eGun + 5);
@ -226,7 +226,7 @@ public class NumassPlugin extends BasicPlugin {
manager.addModel("scatter-empiric-experimental", (context, an) -> {
double eGun = an.getDouble("eGun", 19005d);
//build transmisssion with given data, annotation and smoothing
//builder transmisssion with given data, annotation and smoothing
UnivariateFunction interpolator = buildInterpolator(context, an, eGun);
double smoothing = an.getDouble("lossSmoothing", 0.3);
@ -287,7 +287,7 @@ public class NumassPlugin extends BasicPlugin {
return TransmissionInterpolator.fromAction(context,
transBuild, transXName, transYName, nSmooth, w, stitchBorder);
} catch (InterruptedException ex) {
throw new RuntimeException("Transmission build failed");
throw new RuntimeException("Transmission builder failed");
}
} else {
throw new RuntimeException("Transmission declaration not found");

View File

@ -49,7 +49,7 @@ public class NumassPrepareTask extends AbstractTask<Table> {
// Meta dataMeta = config.getMeta("data");
// URI storageUri = input.getCheckedData("dataRoot", URI.class).get();
// DataSet.Builder<NumassData> dataBuilder = readData(getWork(model, input.getName()), context, storageUri, dataMeta);
// DataNode<NumassData> data = dataBuilder.build();
// DataNode<NumassData> data = dataBuilder.builder();
//preparing table data
Meta prepareMeta = config.getMeta("prepare");
@ -192,6 +192,6 @@ public class NumassPrepareTask extends AbstractTask<Table> {
// .addNode("prepare", PrepareDataAction.class)
// .addNode("monitor", MonitorCorrectAction.class)
// .addNode("merge", MergeDataAction.class)
// .build();
// .builder();
// }
}

View File

@ -70,7 +70,7 @@ public class UnderflowCorrection {
// double[] fitRes = getUnderflowExpParameters(point, xLow, xHigh, binning);
// builder.row(point.getVoltage(), fitRes[0], fitRes[1]);
// }
// return builder.build();
// return builder.builder();
// }
public Values fitPoint(NumassPoint point, int xLow, int xHigh, int upper, int binning) {

View File

@ -206,7 +206,7 @@ public class NumassServer extends AbstractNetworkListener implements Encapsulate
// .putMetaNode(new AnnotationBuilder("error")
// .putValue("type", "auth")
// .putValue("message", "Authorisation faild. Need the role '"+requiredRole+"'")
// .build()
// .builder()
// );
// }
@Override

View File

@ -56,7 +56,7 @@ class MainView : View("Numass data viewer") {
}
}
// private val processFragment = FragmentWindow.build(processManagerButton) {
// private val processFragment = FragmentWindow.builder(processManagerButton) {
// WorkManagerFragment(getWorkManager())
// }