From 0af62bf362f201d41bd6f3deb5b3774f596ebb02 Mon Sep 17 00:00:00 2001
From: Peter Powers <pmpowers@usgs.gov>
Date: Mon, 9 Dec 2024 10:25:37 -0700
Subject: [PATCH] added PRVI option

---
 .../java/gov/usgs/earthquake/nshmp/gmm/SubductionZone.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/main/java/gov/usgs/earthquake/nshmp/gmm/SubductionZone.java b/src/main/java/gov/usgs/earthquake/nshmp/gmm/SubductionZone.java
index 589782a8..46dc5e46 100644
--- a/src/main/java/gov/usgs/earthquake/nshmp/gmm/SubductionZone.java
+++ b/src/main/java/gov/usgs/earthquake/nshmp/gmm/SubductionZone.java
@@ -16,7 +16,9 @@ enum SubductionZone {
 
   @Override
   public String toString() {
-    return Text.enumLabelWithSpaces(this, true);
+    return (this == PRVI)
+        ? name()
+        : Text.enumLabelWithSpaces(this, true);
   }
 
   static enum Type {
-- 
GitLab