Git Product home page Git Product logo

Comments (2)

cboettig avatar cboettig commented on July 18, 2024

Thanks for reporting. @amoeba may be able to shed more light here, but my shot-in-the-dark is that it's related to the fact that we parse the ORCID identifier as the id to the block (I think when you re-use an element in EML you really want to use a reference and not repeat the element like we do in the example; but it's only really an issue when the element has an id)

e.g. can you try the above but without a comment element on the person the used in the contact field? (I could be entirely wrong here too)

from eml.

peterdesmet avatar peterdesmet commented on July 18, 2024

Hmm, yes, if I try:

me <- person("Peter", "Desmet", , "[email protected]", "mdc")
my_eml <- list(dataset = list(
  title = "A Minimal Valid EML Dataset",
  creator = as_emld(me),
  contact = as_emld(me)
))
write_eml(my_eml, "ex.xml")

It doesn't get duplicated.

Too bad, it was pretty useful that I could use as_emld() on person. I guess I'll have to parse those out and feed them to set_responsibleParty() where I specifically assign each property?

from eml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.