Commit 38c89833 authored by Robert Butora's avatar Robert Butora
Browse files

fixes bug in soda where hdunum was confused with extnum

parent 32cd8b50
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ class SodaImpl implements Soda
		cmd[0] = "/usr/local/bin/vlkb";
		cmd[1] = "cutout";
		cmd[2] = fitsPaths.surveys() + "/" + relPathname;
		cmd[3] = String.valueOf(hdunum);
		cmd[3] = String.valueOf(hdunum - 1); // extnum = hdunum - 1
		cmd[4] = coordString;
		LOGGER.finest(String.join(" ", cmd));