Skip to content

Commit

Permalink
Merge pull request #304 from lsst/tickets/DM-42702
Browse files Browse the repository at this point in the history
tickets/DM-42702: Set filler rowMeanVariance to an array of the correct length.
  • Loading branch information
erykoff committed Jan 31, 2024
2 parents e4d5af7 + ef6dde9 commit 46d896e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/ip/isr/ptcDataset.py
Expand Up @@ -666,7 +666,7 @@ def fromTable(cls, tableList):
else:
inDict['covMatrixSideFullCovFit'] = record['COV_MATRIX_SIDE_FULL_COV_FIT']
if calibVersion < 1.6:
inDict['rowMeanVariance'][ampName] = np.array([np.nan])
inDict['rowMeanVariance'][ampName] = np.full((len(inDict['expIdMask'][ampName]),), np.nan)
else:
inDict['rowMeanVariance'][ampName] = record['ROW_MEAN_VARIANCE']

Expand Down

0 comments on commit 46d896e

Please sign in to comment.