Skip to content

Commit

Permalink
Prepared for new release.
Browse files Browse the repository at this point in the history
  • Loading branch information
kvb2univpitt committed Oct 31, 2023
2 parents a684789 + 5b995ed commit fd8eae3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>edu.pitt.dbmi</groupId>
<artifactId>causal-cmd</artifactId>
<version>1.10.0</version>
<version>1.11.0</version>
<packaging>jar</packaging>

<properties>
Expand All @@ -22,7 +22,7 @@
<dependency>
<groupId>io.github.cmu-phil</groupId>
<artifactId>tetrad-lib</artifactId>
<version>7.5.0</version>
<version>7.6.0</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
import edu.cmu.tetrad.data.Knowledge;
import edu.cmu.tetrad.graph.Dag;
import edu.cmu.tetrad.graph.Graph;
import edu.cmu.tetrad.graph.GraphTransforms;
import edu.cmu.tetrad.graph.GraphUtils;
import edu.cmu.tetrad.graph.Node;
import edu.cmu.tetrad.graph.NodeType;
import edu.cmu.tetrad.search.utils.DagToPag;
import edu.cmu.tetrad.search.utils.GraphSearchUtils;
import edu.cmu.tetrad.search.utils.TsDagToPag;
import edu.cmu.tetrad.util.Parameters;
import edu.pitt.dbmi.causal.cmd.AlgorithmRunException;
Expand Down Expand Up @@ -236,15 +236,15 @@ private Graph manipulateGraph(Graph graph) {

if (cmdArgs.isChooseMagInPag()) {
try {
graph = GraphSearchUtils.pagToMag(graph);
graph = GraphTransforms.pagToMag(graph);
} catch (Exception exception) {
LOGGER.error("Unable to choose MAG in PAG.", exception);
}
}

if (cmdArgs.isGeneratePatternFromDag()) {
try {
graph = GraphSearchUtils.cpdagFromDag(graph);
graph = GraphTransforms.cpdagForDag(graph);
} catch (Exception exception) {
LOGGER.error("Unable to generate pattern graph from DAG.", exception);
}
Expand Down

0 comments on commit fd8eae3

Please sign in to comment.