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

add dot-object addFeatures #976

Closed
nathandunn opened this issue Feb 6, 2018 · 1 comment
Closed

add dot-object addFeatures #976

nathandunn opened this issue Feb 6, 2018 · 1 comment
Assignees
Milestone

Comments

@nathandunn
Copy link
Contributor

From #952 (comment)

https://apollo.nal.usda.gov/Drosophils%20bipectinata/jbrowse/?loc=scf7180000394085:914360..917628&tracks=DNA,Annotations,BlastResults&addTracks=[{"style": {"renderClassName":"blast-hit-20pct"},"label":"BlastResults","store":"url","type":"JBrowse/View/Track/HTMLFeatures"}]&addFeatures=[{ "seq_id":"scf7180000394085", "start": 914360, "end": 914389, "strand": "1", "name": "HSP:"},{ "seq_id":"scf7180000394085", "start": 917599, "end": 917628, "strand": "1", "name": "HSP:"}]

need to interpret this:

&addFeatures=[{ "seq_id":"scf7180000394085", "start": 914360, "end": 914389, "strand": "1", "name": "HSP:"},{ "seq_id":"scf7180000394085", "start": 917599, "end": 917628, "strand": "1", "name": "HSP:"}]

The dot-object library will handle this automatically. The test-case will be:

addFeatures.1.seq_id=scf7180000394085&addFeatures.1.start=914360&. . . . 

addFeatures.2.seq_id=scf7180000394085&addFeatures.2.start=917599&. . . . 

So, here we need to interpret an array for this.

@nathandunn nathandunn added this to the 1.12.4 milestone Feb 6, 2018
@nathandunn nathandunn self-assigned this Feb 6, 2018
@rbuels
Copy link
Collaborator

rbuels commented Feb 7, 2018

@nathandunn does merging #978 close this? Could you close if so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants