OpenTreeOfLife / peyotl

python library for interacting with Open Tree of Life resources
BSD 2-Clause "Simplified" License
11 stars 7 forks source link

Import nexml fails #183

Open snacktavish opened 9 months ago

snacktavish commented 9 months ago

If I export nexml from the curator and then try to import it into a new study I get the error: {"description": "'Repeated trees element id "trees1"'", "error": 1}

It's sort of an unusual thing to want to do - but for example it's handy to re-use an OTU mapping scheme that took a long time to edit. And I'm not sure if our import checker is too strict, or if we're not exporting legal nexml.

jimallman commented 9 months ago

That's a pretty clear error message, if it's accurate. Can you post or point to the nexml, or does it happen for every exported study?

rvosa commented 9 months ago

I mean, if this is literally about XML IDs being used multiple times, then that indeed shouldn't validate.

On Tue, Dec 19, 2023 at 1:57 AM Jim Allman @.***> wrote:

That's a pretty clear error message, if it's accurate. Can you post or point to the nexml, or does it happen for every exported study?

— Reply to this email directly, view it on GitHub https://github.com/OpenTreeOfLife/peyotl/issues/183#issuecomment-1861930007, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAZ76WJDU54SFW3ZSETX2LYKDRANAVCNFSM6AAAAABA2AZD7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRRHEZTAMBQG4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>