ucscXena / XenaGoWidget

Xena Gene Set Viewer (demo: http://xenademo.berkeleybop.io/xena)
https://xenageneset.berkeleybop.io/xena/
BSD 3-Clause "New" or "Revised" License
2 stars 5 forks source link

save state for all operations and allow reset of state #60

Closed nathandunn closed 6 years ago

nathandunn commented 6 years ago
nathandunn commented 6 years ago

for some reason, the setState keeps getting the cohort back ot the wrong place

nathandunn commented 6 years ago

The problem is that we are loading two separate cohorts, but if the second one loads first, then the synchronized geneList fails. The ways around that are:

nathandunn commented 6 years ago

Alternatively, (and more correctly), it should be part of the state of the MultiXenaGoApp that gets passed in as a property. A little bit worried about that hammering the second cohort twice, though.

However, maybe we can calculate once the state is set at the top-level.