iossifovlab / gpfjs

MIT License
0 stars 0 forks source link

Fix setting genome #1076

Closed IlinaGergova closed 2 months ago

IlinaGergova commented 2 months ago

Background

Genome was not set (before it was set in datasets service). When navigating to invalid dataset the error message was not shown. When navigating to genotype browser from gene profiles single view and when logut while in dataset statistics the state of the selected dataset was null.

Aim

Fix the issues.

Implementation

Set the genome by getting it from state in constructor in RegionsFilter. Add error handling for invalid dataset in url. Save dataset id string in state which is needed to load genotype browser from single view.