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

nsmap error #694

Open
bombelli opened this issue Jul 27, 2023 · 0 comments
Open

nsmap error #694

bombelli opened this issue Jul 27, 2023 · 0 comments

Comments

@bombelli
Copy link

Hi Guys,
I am trying to load PhyloXML projects from files using the code example here http://etetoolkit.org/docs/latest/tutorial/tutorial_phyloxml.html, particularly the build_from_file() function. However I have tried using different Phyloxml files but I keep getting this same error:

namespaces = six.itervalues(node.nsmap)
AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'nsmap'

Could anyone help me on how to solve this. I have tried for days but still couldn't rectify it.

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

1 participant