Skip to content

Commit f5b447e

Browse files
committed
Bug Fix: datalink processing not recognizing application/fits as image
1 parent ab75f91 commit f5b447e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/firefly/js/metaConvert/vo/DataLinkProcessor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ function makeMenuEntry({dlTableUrl, dlData,idx, baseTitle, sourceTable, sourceRo
235235
export function filterDLList(parsingAlgorithm, dataLinkData, preferCutout) {
236236
if (parsingAlgorithm===USE_ALL) return dataLinkData;
237237
if (parsingAlgorithm===IMAGE) {
238-
return dataLinkData.filter( ({dlAnalysis}) => dlAnalysis.isImage);
238+
return dataLinkData.filter( ({dlAnalysis}) => dlAnalysis.maybeImage);
239239
}
240240
if (parsingAlgorithm===RELATED_IMAGE_GRID) {
241241
const relatedGrid= dataLinkData.filter( ({dlAnalysis}) => dlAnalysis.isGrid && dlAnalysis.maybeImage);

src/firefly/js/voAnalyzer/vo-typedefs.jsdoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
* @prop {boolean} isThis
4242
* @prop {boolean} isCounterpart
4343
* @prop {boolean} isImage
44+
* @prop {boolean} maybeImage - the file is probably a fits file with an image
4445
* @prop {boolean} isGrid
4546
* @prop {boolean} isAux
4647
* @prop {boolean} isSpectrum

0 commit comments

Comments
 (0)