Skip to content

Commit 1a093fe

Browse files
authored
Merge pull request #260 from Caltech-IPAC/DM-8648-WrongFluxUnit
DM-8648:fixed the flux unit bug
2 parents 99a2a3b + 8fbff34 commit 1a093fe

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/firefly/java/edu/caltech/ipac/firefly/server/visualize/ImagePlotCreator.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@
3636

3737
/**
3838
* @author Trey Roby
39+
*
40+
* Edit history
41+
*
42+
* 1/3/17
43+
* LZ: DM-8648
3944
*/
4045
public class ImagePlotCreator {
4146

@@ -51,7 +56,7 @@ static ImagePlotInfo[] makeAllNoBand(PlotState stateAry[],
5156

5257
ImagePlotInfo piAry[]= new ImagePlotInfo[readAry.length];
5358
FileReadInfo readInfo;
54-
Map<Band,WebFitsData> wfDataMap= new LinkedHashMap<Band,WebFitsData>(5);
59+
5560
for(int i= 0; (i<readAry.length); i++) {
5661
readInfo= readAry[i];
5762
WebPlotRequest req= stateAry[i].getWebPlotRequest();
@@ -66,6 +71,7 @@ static ImagePlotInfo[] makeAllNoBand(PlotState stateAry[],
6671
frGroup.setFitsRead(readInfo.getBand(),readInfo.getFitsRead());
6772
ImagePlot plot= createImagePlot(stateAry[i], frGroup, readInfo.getBand(),readInfo.getDataDesc(),zoomChoice, readAry.length>1);
6873
WebFitsData wfData= makeWebFitsData(plot,frGroup, readInfo.getBand(),readInfo.getOriginalFile());
74+
Map<Band,WebFitsData> wfDataMap= new LinkedHashMap<>();
6975
wfDataMap.put(Band.NO_BAND,wfData);
7076
Map<Band,ModFileWriter> fileWriterMap= new LinkedHashMap<Band,ModFileWriter>(1);
7177
if (readInfo.getModFileWriter()!=null) fileWriterMap.put(Band.NO_BAND,readInfo.getModFileWriter());

0 commit comments

Comments
 (0)