Skip to content

Commit e7e5c95

Browse files
Implements fix for #1440 (#428)
* #1403 fixed timer when services are not available * #1389 applied tag.hidden logic, reduced autohide time for tags toasts to 5 seconds * Squashed commit of the following: commit 7511b57 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Apr 23 08:27:24 2024 +0200 - finished #1348 commit 6074d79 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Wed Apr 17 09:50:06 2024 +0200 - #1348 - fixed cases when all pdbs are missing commit 49f0ae8 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Wed Apr 10 13:41:50 2024 +0200 - checkpoint commit 13a315e Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Wed Apr 3 12:30:06 2024 +0200 - checkpoint commit a5b8cca Merge: 34b75f7 756a25b Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Mar 25 12:24:01 2024 +0100 Merge branch '#1348' of https://github.com/m2ms/fragalysis-frontend into #1348 commit 34b75f7 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Mar 12 12:35:21 2024 +0100 - latest backend commit 1308cb2 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit 1ee15e7 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit a033b68 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit 7149081 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit 623de4f Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Mar 12 09:48:51 2024 +0100 - using official backend version commit eec204c Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 12:16:45 2024 +0100 - checkpoint commit dbc93a7 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 10:27:08 2024 +0100 - checkpoint commit b933243 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit 4a0e171 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit 634ed03 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit 6e65fae Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit 1bff7bf Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit 07f21b6 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit 021366e Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit 36f87b4 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit 87e765a Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Mar 12 12:35:21 2024 +0100 - latest backend commit 72c94f0 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit 224ca23 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit 36f03f8 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit 8072920 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit e319056 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Mar 12 09:48:51 2024 +0100 - using official backend version commit 187e7f3 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 12:16:45 2024 +0100 - checkpoint commit b6aa0a4 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 10:27:08 2024 +0100 - checkpoint commit fccf976 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit 965be5e Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit b01cdbf Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit e04fbf2 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit 5d64c26 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit dbb155c Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit b1c0f3c Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Thu Feb 29 10:32:27 2024 +0100 - checkpoint commit abc8cc9 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit 2ef004a Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit 756a25b Merge: f686ef4 f474ff6 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Thu Mar 14 10:00:02 2024 +0100 Merge branch '#1348' of https://github.com/m2ms/fragalysis-frontend into #1348 commit f686ef4 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Mar 12 12:35:21 2024 +0100 - latest backend commit df6209c Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit f5a842f Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit 83ffccc Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit 0ecff35 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit d3a90c7 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Mar 12 09:48:51 2024 +0100 - using official backend version commit 50800b9 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 12:16:45 2024 +0100 - checkpoint commit 2af18fd Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 10:27:08 2024 +0100 - checkpoint commit cd75a27 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit c485389 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit 96296e9 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit 760152b Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit 8a30204 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit 6235e9c Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit e2e46cb Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Thu Feb 29 10:32:27 2024 +0100 - checkpoint commit 8176514 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit 6aa5108 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit f474ff6 Merge: 56c0b85 e728f49 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Thu Mar 14 08:30:00 2024 +0100 Merge branch '#1348' of https://github.com/m2ms/fragalysis-frontend into #1348 # Conflicts: # js/components/preview/tags/details/tagDetails.js commit 56c0b85 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit a185933 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit 09c97b5 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit c6d0738 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit 72f36b0 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Thu Feb 29 10:32:27 2024 +0100 - checkpoint commit 971799d Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit 1bb5326 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit e728f49 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Mar 12 12:35:21 2024 +0100 - latest backend commit 125b8d4 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit 0e41551 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit 8cf43e0 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit d336352 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint commit 2fb59dc Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Mar 12 09:48:51 2024 +0100 - using official backend version commit 9439f5d Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Thu Mar 7 13:59:03 2024 +0100 - partial fix for purple release for #1370 commit 4ff5f94 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Thu Mar 7 10:10:41 2024 +0100 - implemented #1376 - also fixed bug in download structures dialog where only first download got added to the dropdown menu commit 66a98f3 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Wed Mar 6 09:47:12 2024 +0100 - implemented #1361 - improvements for #1354 commit 8a193a5 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Mar 5 13:24:11 2024 +0100 - cleanup for #1354 commit bb3bf3b Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Mar 5 13:21:32 2024 +0100 - updated message for #1354 commit a3dc819 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Mar 5 13:05:12 2024 +0100 - first implementation of #1354 commit 4121519 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Mar 5 08:17:49 2024 +0100 - implemented #1357 commit 4d96ff4 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Mar 4 10:07:06 2024 +0100 - implemented changes requested in #1326 commit 03158be Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Mar 4 08:45:22 2024 +0100 - fixed problem with tags not visually updating on observations commit 8765a3c Author: matej <matej.vavrek@m2ms.sk> Date: Mon Feb 26 21:36:12 2024 +0100 #1341 "pin" edit tag row outside of tag list commit 6db8b22 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Thu Feb 29 10:32:27 2024 +0100 - checkpoint commit 027eaf0 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 12:16:45 2024 +0100 - checkpoint commit 7407dbd Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 10:27:08 2024 +0100 - checkpoint commit c13628b Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Tue Feb 27 09:23:04 2024 +0100 - checkpoint commit e39721c Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Feb 26 08:42:49 2024 +0100 - checkpoint * - using official backend now * Squashed commit of the following: commit 8fe886a Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Wed May 15 09:00:04 2024 +0200 Squashed commit of the following: commit 6813219 Author: matej <matej.vavrek@m2ms.sk> Date: Mon Apr 29 07:38:30 2024 +0200 #1261 added icon for "Manage grouping" button commit a665ed5 Author: matej <matej.vavrek@m2ms.sk> Date: Sun Apr 28 23:23:25 2024 +0200 #1261 added buttons into observation dialog for later poses handling commit 70a5e70 Author: Boris Kovar <boris.kovar@m2ms.sk> Date: Mon Apr 29 09:20:46 2024 +0200 - #1261 - initial implementation * - now FE point to local dev env * - pointing to correct backend * - #1440 implemented fix --------- Co-authored-by: matej <matej.vavrek@m2ms.sk>
1 parent ab94457 commit e7e5c95

File tree

4 files changed

+52
-27
lines changed

4 files changed

+52
-27
lines changed

docker-compose.dev.vector.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ services:
5353
start_period: 10s
5454
web:
5555
container_name: web_dock
56-
# image: xchem/fragalysis-stack:latest
56+
image: xchem/fragalysis-stack:latest
5757
# image: alanbchristie/fragalysis-backend:1187.3
5858
# image: boriskovarm2ms/fragalysis-stack:experiment2
59-
image: kaliif/fragalysis-backend:latest
59+
# image: kaliif/fragalysis-backend:latest
6060
command: /bin/bash /code/launch-stack.sh
6161
volumes:
6262
- ../data/logs:/code/logs/

js/components/preview/redux/dispatchActions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export const shouldLoadProtein = ({
8787
(!routeSnapshotID || routeSnapshotID === currentSnapshotID.toString()) &&
8888
isRestoring === true
8989
) {
90-
dispatch(restoreAfterTargetActions(nglViewList, routeProjectID));
90+
dispatch(restoreAfterTargetActions(nglViewList, routeProjectID, currentSnapshotID));
9191
}
9292

9393
if (targetOnName !== undefined) {

js/components/preview/tags/redux/dispatchActions.js

+15-11
Original file line numberDiff line numberDiff line change
@@ -186,16 +186,25 @@ const getTagsForMol = (molId, tagList) => {
186186
};
187187

188188
export const loadMoleculesAndTagsNew = targetId => async (dispatch, getState) => {
189+
// console.log(`snapshotDebug - loadMoleculesAndTagsNew - before getTags`);
189190
let tags = await getTags(targetId);
191+
// console.log(`snapshotDebug - loadMoleculesAndTagsNew - after getTags`);
190192
tags = tags.results;
191193
if (tags?.length > 0) {
194+
// console.log(`snapshotDebug - loadMoleculesAndTagsNew - no. of tags received: ${tags?.length}`);
192195
dispatch(setNoTagsReceived(false));
193196
}
197+
// console.log(`snapshotDebug - loadMoleculesAndTagsNew - before getTagCategories`);
194198
const tagCategories = await getTagCategories();
199+
// console.log(`snapshotDebug - loadMoleculesAndTagsNew - no. of tag categories received: ${tagCategories?.length}`);
200+
// console.log(`snapshotDebug - loadMoleculesAndTagsNew - after getTagCategories`);
195201
// const canonSitesList = await getCanonSites(targetId);
196202
// const canonConformSitest = await getCanonConformSites(targetId);
197203

204+
// console.log(`snapshotDebug - loadMoleculesAndTagsNew - before getAllDataNew`);
198205
const data = await getAllDataNew(targetId);
206+
// console.log(`snapshotDebug - loadMoleculesAndTagsNew - after getAllDataNew`);
207+
// console.log(`snapshotDebug - loadMoleculesAndTagsNew - no. of molecules received: ${data?.results?.length}`);
199208
let allMolecules = [];
200209
data?.results?.forEach(mol => {
201210
let newObject = { ...mol };
@@ -226,31 +235,25 @@ export const loadMoleculesAndTagsNew = targetId => async (dispatch, getState) =>
226235
});
227236

228237
dispatch(setAllMolLists([...allMolecules]));
238+
// console.log(`snapshotDebug - loadMoleculesAndTagsNew - no. of molecules stored: ${allMolecules?.length}`);
229239
//need to do this this way because only categories which have at least one tag assigned are sent from backend
230240
tags = tags.sort(compareTagsAsc);
231241
dispatch(setMoleculeTags(tags));
232242
dispatch(setTagSelectorData(tagCategories, tags));
233243
dispatch(setAllDataLoaded(true));
234244

245+
// console.log(`snapshotDebug - loadMoleculesAndTagsNew - before getPoses`);
235246
return getPoses(targetId).then(poses => {
247+
// console.log(`snapshotDebug - loadMoleculesAndTagsNew - after getPoses`);
236248
const modifiedPoses = [];
237-
// let newIdStart = Math.max(...poses?.map(c => c.id)) + 1;
249+
// console.log(`snapshotDebug - loadMoleculesAndTagsNew - no. of poses received: ${poses?.length}`);
238250
poses?.forEach(pose => {
239251
const siteObs = allMolecules.filter(m => pose.site_observations.includes(m.id));
240252
const firstObs = siteObs[0];
241-
// const canonConformSites = siteObs?.map(so => {
242-
// return {
243-
// smiles: so.smiles,
244-
// code: so.code,
245-
// canon_site_conf: so.canon_site_conf,
246-
// canon_site: canonConformSitest.find(ccf => ccf.id === so.canon_site_conf)?.canon_site
247-
// };
248-
// });
253+
249254
let newObject = { ...pose };
250255
newObject['smiles'] = firstObs?.smiles;
251256
newObject['code'] = `${pose.display_name}`;
252-
// newObject['id'] = newIdStart++;
253-
// newObject['origId'] = pose.id;
254257
newObject['canonSiteConf'] = firstObs?.canon_site_conf;
255258
newObject['canonSite'] = pose.canon_site;
256259

@@ -277,5 +280,6 @@ export const loadMoleculesAndTagsNew = targetId => async (dispatch, getState) =>
277280
return 0;
278281
});
279282
dispatch(setLHSCompoundsLIst(modifiedPoses));
283+
// console.log(`snapshotDebug - loadMoleculesAndTagsNew - end of function`);
280284
});
281285
};

js/reducers/tracking/dispatchActions.js

+34-13
Original file line numberDiff line numberDiff line change
@@ -889,6 +889,7 @@ export const resetRestoringState = () => (dispatch, getState) => {
889889
};
890890

891891
export const restoreCurrentActionsList = snapshotID => async (dispatch, getState) => {
892+
const state = getState();
892893
dispatch(resetTrackingState());
893894
dispatch(resetTargetState());
894895
dispatch(setTargetOn(undefined));
@@ -904,25 +905,34 @@ export const restoreCurrentActionsList = snapshotID => async (dispatch, getState
904905
};
905906

906907
const restoreTrackingActions = snapshotID => async (dispatch, getState) => {
908+
// console.log(`snapshotDebug - restoreTrackingActions - start`);
907909
if (snapshotID) {
908910
try {
909-
const response = await api({
911+
// console.log(`snapshotDebug - restoreTrackingActions - before getting actions`);
912+
return api({
910913
url: `${base_url}/api/snapshot-actions/?snapshot=${snapshotID}`
911-
});
912-
let results = response.data.results;
913-
let listToSet = [];
914-
results.forEach(r => {
915-
let resultActions = JSON.parse(r.actions);
916-
listToSet.push(...resultActions);
917-
});
914+
}).then(response => {
915+
// console.log(`snapshotDebug - restoreTrackingActions - after getting actions`);
916+
let results = response.data.results;
917+
// console.log(`snapshotDebug - restoreTrackingActions - no. of actions: ${results.length}`);
918+
let listToSet = [];
919+
results.forEach(r => {
920+
let resultActions = JSON.parse(r.actions);
921+
listToSet.push(...resultActions);
922+
});
918923

919-
let snapshotActions = [...listToSet];
920-
dispatch(setCurrentActionsList(snapshotActions));
924+
let snapshotActions = [...listToSet];
925+
dispatch(setCurrentActionsList(snapshotActions));
926+
// console.log(`snapshotDebug - restoreTrackingActions - end - success`);
927+
return Promise.resolve(snapshotActions);
928+
// return Promise.resolve();
929+
});
921930
} catch (error) {
922931
throw new Error(error);
923932
}
924933
} else {
925-
return Promise.resolve();
934+
// console.log(`snapshotDebug - restoreTrackingActions - end - no snapshot`);
935+
return Promise.resolve([]);
926936
}
927937
};
928938

@@ -958,11 +968,14 @@ const restoreTargetActions = orderedActionList => (dispatch, getState) => {
958968
}
959969
};
960970

961-
export const restoreAfterTargetActions = (stages, projectId) => async (dispatch, getState) => {
971+
export const restoreAfterTargetActions = (stages, projectId, snapshotId) => async (dispatch, getState) => {
972+
const currentActionList = await dispatch(restoreTrackingActions(snapshotId));
973+
962974
const state = getState();
963975

964-
const currentActionList = state.trackingReducers.current_actions_list;
976+
// const currentActionList = state.trackingReducers.current_actions_list;
965977
const orderedActionList = currentActionList.sort((a, b) => a.timestamp - b.timestamp);
978+
// console.log(`snapshotDebug - restoreAfterTargetActions - no. of actions: ${orderedActionList.length}`);
966979
const targetId = state.apiReducers.target_on;
967980

968981
if (targetId && stages && stages.length > 0) {
@@ -983,8 +996,12 @@ export const restoreAfterTargetActions = (stages, projectId) => async (dispatch,
983996
.finally(() => {});
984997

985998
await dispatch(restoreSitesActions(orderedActionList));
999+
// console.log(`snapshotDebug - restoreAfterTargetActions - before loadData`);
9861000
await dispatch(loadData(orderedActionList, targetId, majorView));
1001+
// console.log(`snapshotDebug - restoreAfterTargetActions - after loadData`);
1002+
// console.log(`snapshotDebug - restoreAfterTargetActions - before restoreTagActions`);
9871003
await dispatch(restoreTagActions(orderedActionList));
1004+
// console.log(`snapshotDebug - restoreAfterTargetActions - after restoreTagActions`);
9881005
await dispatch(restoreMoleculesActions(orderedActionList, majorView.stage));
9891006
await dispatch(restoreRepresentationActions(orderedActionList, stages));
9901007
await dispatch(restoreProject(projectId));
@@ -1385,8 +1402,12 @@ export const restoreNglOrientationAnim = (orderedActionList, stages) => async (d
13851402
};
13861403

13871404
const loadData = (orderedActionList, targetId, majorView) => async (dispatch, getState) => {
1405+
// console.log(`snapshotDebug - loadData - before loadAllMolecules`);
13881406
await dispatch(loadAllMolecules(targetId));
1407+
// console.log(`snapshotDebug - loadData - after loadAllMolecules`);
1408+
// console.log(`snapshotDebug - loadData - before loadAllDatasets`);
13891409
await dispatch(loadAllDatasets(orderedActionList, targetId, majorView.stage));
1410+
// console.log(`snapshotDebug - loadData - after loadAllDatasets`);
13901411
};
13911412

13921413
const loadAllDatasets = (orderedActionList, target_on, stage) => async (dispatch, getState) => {

0 commit comments

Comments
 (0)