neherlab / pan-genome-visualization

Visualization of the pan-genome output by panX
https://pangenome.ch
Other
61 stars 14 forks source link

Non-default dropdown menu #11

Open nnoll opened 2 years ago

nnoll commented 2 years ago

It's likely I missed something in the documentation, but how do I get my custom datasets to appear in the dropdown menu? I can navigate manually to the datasets I want via the correct url, e.g. localhost:8000/MyDataSet, but all I see in the dropdown is the default (no TestData). Is this expected?

ivan-aksamentov commented 1 year ago

In the legacy version the dropdown menu items are hardcoded in a js file which belongs to the app:

https://github.com/neherlab/pan-genome-visualization/blob/9cc5125dcde46139df91304d4a38de561d527deb/public/javascripts/species-list-info.js

This will be addressed in the new React-based implementation, which among other things improves data formats and handlding

https://github.com/neherlab/pan-genome-visualization/pull/13