Skip to content

Quick fix no dialog when no subfeatures are present - #18

Open
bejo-dionnez wants to merge 1 commit into
twsaari:masterfrom
bejo-dionnez:pr-fix-no-dialog
Open

Quick fix no dialog when no subfeatures are present#18
bejo-dionnez wants to merge 1 commit into
twsaari:masterfrom
bejo-dionnez:pr-fix-no-dialog

Conversation

@bejo-dionnez

@bejo-dionnez bejo-dionnez commented Oct 29, 2019

Copy link
Copy Markdown

Quick fix in the case that no subfeatures are present (feature.get("subfeatures") returns undefined and therefore _isSingle returns undefined) (I believe this issue is mentioned in issue #11 ). For the cases of annotation files with only one attribute.

In the case there are no "child" attributes/subfeatures JBrowse will now show a dialog that no subfeatures are present. Preferably it might show the fasta sequence, but is also present in the normal details box from JBrowse.

Screenshot 2019-10-29 at 12 12 28

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

Successfully merging this pull request may close these issues.

1 participant