-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
analysis: Remove analysis framework from Oskar. #21
- Loading branch information
Showing
54 changed files
with
486 additions
and
2,111 deletions.
There are no files selected for viewing
244 changes: 0 additions & 244 deletions
244
oskar-analysis/src/main/java/org/opencb/oskar/analysis/OskarAnalysis.java
This file was deleted.
Oops, something went wrong.
49 changes: 0 additions & 49 deletions
49
oskar-analysis/src/main/java/org/opencb/oskar/analysis/OskarAnalysisExecutor.java
This file was deleted.
Oops, something went wrong.
38 changes: 38 additions & 0 deletions
38
oskar-analysis/src/main/java/org/opencb/oskar/analysis/OskarExecutor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
20 changes: 0 additions & 20 deletions
20
oskar-analysis/src/main/java/org/opencb/oskar/analysis/exceptions/AnalysisException.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.