Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parameter name on ATCamera component #359

Merged
merged 2 commits into from
Apr 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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