Skip to content

Commit

Permalink
Release v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgunbabur committed Jan 28, 2021
1 parent 433cc02 commit abe5dc0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions causalpath.iml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<orderEntry type="library" name="Maven: org.apache.commons:commons-compress:1.7" level="project" />
<orderEntry type="library" name="Maven: org.tukaani:xz:1.4" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-collections4:4.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi:3.11-beta2" level="project" />
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.9" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi:3.17" level="project" />
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml:3.11-beta2" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml-schemas:3.11-beta2" level="project" />
<orderEntry type="library" name="Maven: org.apache.xmlbeans:xmlbeans:2.6.0" level="project" />
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.panda</groupId>
<artifactId>causalpath</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>

<repositories>
<repository>
Expand Down Expand Up @@ -53,12 +53,12 @@
<dependency>
<groupId>org.panda</groupId>
<artifactId>utility</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>org.panda</groupId>
<artifactId>resource</artifactId>
<version>1.2.0-SNAPSHOT</version>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.panda.causalpath.run;

import org.panda.causalpath.network.GraphWriter;
import org.panda.utility.FileUtil;

import java.io.File;
import java.io.IOException;
Expand Down Expand Up @@ -31,7 +32,7 @@ private static void generate(String inBase, String inDir, String sifName, String
String sifPath = inDir + File.separator + sifName + ".sif";
String formatPath = inDir + File.separator + sifName + ".format";

if (Files.exists(Paths.get(sifPath)) && Files.exists(Paths.get(formatPath)))
if (Files.exists(Paths.get(sifPath)) && !FileUtil.isEmpty(sifPath) && Files.exists(Paths.get(formatPath)))
{
String outDir = inDir.replace(inBase, outBase);
Files.createDirectories(Paths.get(outDir));
Expand Down

0 comments on commit abe5dc0

Please sign in to comment.