From e3c19b1386e65683c0d1a8990e85d814279c142a Mon Sep 17 00:00:00 2001
From: Aaron Curtis <foobarbecue@gmail.com>
Date: Mon, 6 Apr 2020 09:32:36 -0700
Subject: [PATCH] Fix: hyb2onccal expects 2nd coord of ROI to be called X4, Y4;
 not X2, Y2 (#3827)

---
 .../hayabusa2/apps/hyb2onc2isis/Hayabusa2OncInstrument.trn  | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/isis/src/hayabusa2/apps/hyb2onc2isis/Hayabusa2OncInstrument.trn b/isis/src/hayabusa2/apps/hyb2onc2isis/Hayabusa2OncInstrument.trn
index 3e58bdf9c0..398f188109 100644
--- a/isis/src/hayabusa2/apps/hyb2onc2isis/Hayabusa2OncInstrument.trn
+++ b/isis/src/hayabusa2/apps/hyb2onc2isis/Hayabusa2OncInstrument.trn
@@ -161,6 +161,7 @@ End_Group
 
 Group = SelectedImageAreaX2
   Auto
+  Optional
   InputKey       = P_OPOSX2
   InputKey       = ROI_URX
   InputPosition  = FitsLabels
@@ -171,6 +172,7 @@ End_Group
 
 Group = SelectedImageAreaY2
   Auto
+  Optional
   InputKey       = P_OPOSY2
   InputKey       = ROI_URY
   InputPosition  = FitsLabels
@@ -201,8 +203,8 @@ End_Group
 
 Group = SelectedImageAreaX4
   Auto
-  Optional
   InputKey       = P_OPOSX4
+  InputKey       = ROI_URX
   InputPosition  = FitsLabels
   OutputName     = SelectedImageAreaX4
   OutputPosition = (Object, IsisCube, Group, Instrument)
@@ -211,8 +213,8 @@ End_Group
 
 Group = SelectedImageAreaY4
   Auto
-  Optional
   InputKey       = P_OPOSY4
+  InputKey       = ROI_URY
   InputPosition  = FitsLabels
   OutputName     = SelectedImageAreaY4
   OutputPosition = (Object, IsisCube, Group, Instrument)
-- 
GitLab