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

Interactive interface, TypeError: Cannot read properties of undefined (reading 'angle') when trying to organize by length #2325

Open
jwilliams648 opened this issue Aug 8, 2024 · 5 comments

Comments

@jwilliams648
Copy link

I received this error while trying to organize dendrogram by contig length after specifying a specific collection via anvi-interactive argument '-C'

Anvi'o version: 8-dev

TypeError: Cannot read properties of undefined (reading 'angle')
    at Drawer.<anonymous> (http://localhost:8080/app/js/drawer.js?rand=4b9247d67ed86382a840b4bb5d1a8638:1301:24)
    at Drawer.iterate_layers (http://localhost:8080/app/js/drawer.js?rand=4b9247d67ed86382a840b4bb5d1a8638:41:28)
    at Drawer.draw_layer_backgrounds (http://localhost:8080/app/js/drawer.js?rand=4b9247d67ed86382a840b4bb5d1a8638:1277:10)
    at Drawer.draw (http://localhost:8080/app/js/drawer.js?rand=4b9247d67ed86382a840b4bb5d1a8638:101:10)
    at m.fn.init.onShow (http://localhost:8080/app/js/main.js?rand=a8f7ecf29676ae6187c64c501cc62ff9:1850:28)
    at HTMLDivElement.<anonymous> (http://localhost:8080/app/lib/bootstrap-waitingfor/build/bootstrap-waitingfor.js?rand=6411a90638f2294580d0e655e5a65920:134:22)
    at HTMLDivElement.dispatch (http://localhost:8080/app/lib/jquery/dist/jquery.min.js?rand=9f1f9fc61c03415314095756b1de385e:4:8549)
    at r.handle (http://localhost:8080/app/lib/jquery/dist/jquery.min.js?rand=9f1f9fc61c03415314095756b1de385e:4:5252)
    at Object.trigger (http://localhost:8080/app/lib/jquery/dist/jquery.min.js?rand=9f1f9fc61c03415314095756b1de385e:4:7650)
    at HTMLDivElement.<anonymous> (http://localhost:8080/app/lib/jquery/dist/jquery.min.js?rand=9f1f9fc61c03415314095756b1de385e:4:15517)```
@meren
Copy link
Member

meren commented Aug 8, 2024

Hey @metehaansever, can you please try to reproduce this? You can use anvi-self-test --suite mini -o TEST, and then anvi-interactive in the TEST directory with -C :)

@metehaansever
Copy link
Contributor

I tried to reproduce the problem but It did work on my side. I suggest you @jwilliams648 to hard refresh your browser. And I just want to be sure are you on Anvio-dev or Anvio-8 ?

@meren
Copy link
Member

meren commented Aug 8, 2024

@jwilliams648, what are your collection names (if they are starting with numbers it can cause some problems for the tree parsing library perhaps)?

@jwilliams648
Copy link
Author

Hmm, interesting. I'll try the refresh and see if that works. I am using anvio-dev and collection names start with letters.

@meren
Copy link
Member

meren commented Aug 8, 2024

If you were to send us a private email with download links for your files (profile-db, contigs-db) we could also double-check things here :)

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

3 participants