Skip to content

Commit

Permalink
Merge pull request #359 from lsst-ts/tickets/LOVE-80
Browse files Browse the repository at this point in the history
Fix parameter name on ATCamera component
  • Loading branch information
sebastian-aranda authored Apr 8, 2022
2 parents 9d9c505 + 4f74b49 commit eb46564
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions love/src/redux/reducers/camera.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ export default function (state = initialState, action) {
imageSequence.name = data?.imageSequenceName?.value;
imageSequence.imagesInSequence = data?.imagesInSequence?.value;
imageSequence.images[data?.imageName?.value] = {
timeStamp: data.timeStamp?.value,
timeStamp: data.timestampAcquisitionStart?.value,
imageIndex: data.imageIndex?.value,
exposureTime: data.exposureTime?.value ?? 0,
state: action.imageState,
};
imageSequence.name = data.imageSequenceName?.value;
return { ...state, imageSequence };
}, state);
}
Expand Down
6 changes: 3 additions & 3 deletions love/src/redux/selectors.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ describe('Test image sequence data passes correctly to component', () => {
value: 1,
dataType: 'Int',
},
timeStamp: {
timestampAcquisitionStart: {
value: 1558368052.999,
dataType: 'Float',
},
Expand Down Expand Up @@ -257,7 +257,7 @@ describe('Test image sequence data passes correctly to component', () => {
value: 1,
dataType: 'Int',
},
timeStamp: {
timestampAcquisitionStart: {
value: 1558568052.999,
dataType: 'Float',
},
Expand Down Expand Up @@ -392,7 +392,7 @@ it('Append readout parameters to image', async () => {
value: 1,
dataType: 'Int',
},
timeStamp: {
timestampAcquisitionStart: {
value: 1558368052.999,
dataType: 'Float',
},
Expand Down

0 comments on commit eb46564

Please sign in to comment.