Skip to content

Commit bb4a63f

Browse files
author
Kevin Milner
committed
fixed bug where curve check looked for existence of wrong inputs
1 parent ddb014b commit bb4a63f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/scratch/kevin/prvi25/CrustalSubductionLogicTreeCombine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ else if (bgOp == IncludeBackgroundOption.ONLY)
217217

218218
File crustalSiteFile = new File(crustalDir, siteHazardFileName);
219219
File subductionSiteFile = new File(subductionDir, siteHazardFileName);
220-
if (!cmd.hasOption("no-curves") && crustalHazardDir.exists() && subductionHazardDir.exists() && !averageEither) {
220+
if (!cmd.hasOption("no-curves") && crustalSiteFile.exists() && subductionSiteFile.exists() && !averageEither) {
221221
System.out.println("Will combine site hazard curves");
222222
File sitesOutputFile = new File(outputDir, siteHazardFileName);
223223
if (REVERSE)

0 commit comments

Comments
 (0)