Skip to content

Commit

Permalink
facilitate beast "-validate" option CompEvol/BeastFX#86
Browse files Browse the repository at this point in the history
  • Loading branch information
rbouckaert committed Sep 9, 2024
1 parent 3dbc14a commit fe85402
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/beast/base/inference/Runnable.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ public abstract class Runnable extends BEASTObject {
/** entry point for anything runnable **/
abstract public void run() throws Exception;

/**

/** make sure whatever is runnable is valid, but do not run yet **/
public void validate() throws Exception {}

/**
* Set up information related to the file for (re)storing the State.
* The Runnable implementation is responsible for making its
* State synchronising with the file *
Expand Down

0 comments on commit fe85402

Please sign in to comment.