Skip to content
Snippets Groups Projects
Commit 38c89833 authored by Robert Butora's avatar Robert Butora
Browse files

fixes bug in soda where hdunum was confused with extnum

parent 32cd8b50
Branches
Tags
No related merge requests found
...@@ -78,7 +78,7 @@ class SodaImpl implements Soda ...@@ -78,7 +78,7 @@ class SodaImpl implements Soda
cmd[0] = "/usr/local/bin/vlkb"; cmd[0] = "/usr/local/bin/vlkb";
cmd[1] = "cutout"; cmd[1] = "cutout";
cmd[2] = fitsPaths.surveys() + "/" + relPathname; cmd[2] = fitsPaths.surveys() + "/" + relPathname;
cmd[3] = String.valueOf(hdunum); cmd[3] = String.valueOf(hdunum - 1); // extnum = hdunum - 1
cmd[4] = coordString; cmd[4] = coordString;
LOGGER.finest(String.join(" ", cmd)); LOGGER.finest(String.join(" ", cmd));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment