Giter Site home page Giter Site logo

Comments (6)

josephwb avatar josephwb commented on August 11, 2024

Nexson file can now be read into MainRunner (either using "justtrees" or "addtree"). Uses a 'peek', so user does not have to specify whether tree file is newick or nexson format. Works fine for single tree nexson example file, but dies on the two-tree file with error:
Exception in thread "main" java.lang.RuntimeException: missing value for ot:studyPublication

from treemachine.

pmidford avatar pmidford commented on August 11, 2024

Hi Joseph,
I checked, ot:studyPublication is present in the JSON file, so there isn't an obvious problem with the file.

-Peter

On Mar 13, 2013, at 4:25 PM, "Joseph W. Brown" [email protected] wrote:

Nexson file can now be read into MainRunner (either using "justtrees" or "addtree"). Uses a 'peek', so user does not have to specify whether tree file is newick or nexson format. Works fine for single tree nexson example file, but dies on the two-tree file with error:
Exception in thread "main" java.lang.RuntimeException: missing value for ot:studyPublication


Reply to this email directly or view it on GitHub.

from treemachine.

josephwb avatar josephwb commented on August 11, 2024

Weird. It has both "ot:studyPublicationReference" and "ot:studyPublication", while the single tree file has only the former. I deleted the latter from the two-tree file, and everything works nicely. Perhaps NexsonReader isn't expecting this field? I'll check.

from treemachine.

pmidford avatar pmidford commented on August 11, 2024

If you look in phylografter, study 15 doesn't have a recorded DOI (actually there is a DOI, but it's embedded in the reference string). The ot:studyPublication is only written when a DOI or other suitable URI (e.g., jstor) is available in the right field. Jonathan has a task to track down the missing DOI's in phylografter, but until that's done, there will be quite a few studies without studyPublication fields, but some do.

On Mar 13, 2013, at 4:54 PM, Joseph W. Brown [email protected] wrote:

Weird. It has both "ot:studyPublicationReference" and "ot:studyPublication", while the single tree file has only the former. I deleted the latter from the two-tree file, and everything works nicely. Perhaps NexsonReader isn't expecting this field? I'll check.


Reply to this email directly or view it on GitHub.

from treemachine.

blackrim avatar blackrim commented on August 11, 2024

Can this be closed? I am working on the plugin and updating bits and wondering if more needs to be done here before moving on that

from treemachine.

josephwb avatar josephwb commented on August 11, 2024

Trees read in with properties. Moving "add properties to graph" in a separate issue.

from treemachine.

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.