Skip to content

Commit

Permalink
analysis: Remove analysis framework from Oskar. #21
Browse files Browse the repository at this point in the history
  • Loading branch information
j-coll committed Oct 23, 2019
1 parent e9aac47 commit 03c3aec
Show file tree
Hide file tree
Showing 54 changed files with 486 additions and 2,111 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
package org.opencb.oskar.analysis;

import org.opencb.commons.datastore.core.ObjectMap;
import org.opencb.oskar.analysis.exceptions.ExecutionException;

import java.nio.file.Path;

public abstract class OskarExecutor {

protected ObjectMap params;
protected Path outDir;

protected OskarExecutor() {
}

protected OskarExecutor(ObjectMap params, Path outDir) {
setUp(params, outDir);
}

public final void setUp(ObjectMap executorParams, Path outDir) {
this.params = executorParams;
this.outDir = outDir;
}

/**
* Method to be implemented by subclasses with the actual execution.
* @throws ExecutionException on error
*/
public abstract void exec() throws ExecutionException;

public final ObjectMap getParams() {
return params;
}

public final Path getOutDir() {
return outDir;
}
}

This file was deleted.

Loading

0 comments on commit 03c3aec

Please sign in to comment.