How to use the dataproofer.Processing.load function in dataproofer

To help you get started, we’ve selected a few dataproofer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dataproofer / Dataproofer / electron / js / controller.js View on Github external
function rerunStep3(processorConfig) {
  // make sure we can scroll enough to hide the loader/logo
  d3.select(".test-sets").style('min-height', "100%");
  var loadConfig = processorConfig.loaded.config;
  var loaded = Processor.load(loadConfig);
  processorConfig.loaded = loaded;
  renderer = Processor.run(processorConfig);
  // make sure the tests ares still scrolled to the top
  var topBar = d3.select(".top-bar").property("scrollHeight");
  var offsetTop = d3.select("#info-top-bar").property("offsetTop") - topBar;
  var column1 = d3.select(".column-1");
  column1.node().scrollTop = offsetTop;
}
github dataproofer / Dataproofer / electron / js / controller.js View on Github external
ipc.on("last-file-selected", function(event, file) {
  var loadConfig = {
    ext: file.name.split(".").pop(),
    filepath: file.path,
    filename: file.name,
    sampleOpts: {
      sampleSize: 0.25,
      sampleMin: 1000,
      sampleMax: 10000
    }
  };
  var loaded = Processor.load(loadConfig);
  lastProcessorConfig = {
    suites: SUITES,
    renderer: HTMLRenderer,
    input: {},
    loaded: loaded
  };
});