ValueProvider updates
This commit is contained in:
parent
18cc9112b5
commit
05faaf1696
@ -31,9 +31,11 @@ import hep.dataforge.meta.Meta;
|
||||
public class Numass {
|
||||
|
||||
public static Context buildContext(Context parent, Meta meta) {
|
||||
Context numassContext = Global.getContext("numass").withParent(parent).withProperties(meta);
|
||||
numassContext.pluginManager().load("inr.numass:numass");
|
||||
return numassContext;
|
||||
return Context.builder("NUMASS")
|
||||
.parent(parent)
|
||||
.properties(meta)
|
||||
.plugin(NumassPlugin.class)
|
||||
.build();
|
||||
}
|
||||
|
||||
public static Context buildContext() {
|
||||
|
@ -72,7 +72,7 @@ public class NumassPlugin extends BasicPlugin {
|
||||
public void attach(Context context) {
|
||||
// StorageManager.buildFrom(context);
|
||||
super.attach(context);
|
||||
context.setIO(new NumassIO());
|
||||
context.pluginManager().load(new NumassIO());
|
||||
FitManager fm = context.getFeature(FitManager.class);
|
||||
loadModels(fm.getModelManager());
|
||||
loadMath(MathPlugin.buildFrom(context));
|
||||
|
Loading…
Reference in New Issue
Block a user