Comments (6)
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.
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.
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.
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.
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.
Trees read in with properties. Moving "add properties to graph" in a separate issue.
from treemachine.
Related Issues (20)
- Trouble spots in v3/tree_of_life API HOT 5
- treemachine plugin versions HOT 5
- No entries in `sourceToMetaMap` for "rootward" nodes HOT 4
- returning unique_name or not? HOT 6
- Implement partial v2/v3 compatibility layer HOT 1
- Delete "terminal" properties when the value starts with "ott" HOT 1
- Bad property value for was_constrained and was_uncontested HOT 4
- How did treemachine compute total_OTU_count ? HOT 2
- offer options that prune the `subtree` method's response to the species level
- Use GET instead of POST where possible
- Treemachine could manage multiple trees HOT 4
- Fix the child/parent induced subtree problem HOT 6
- Deal with missing OTT ids better HOT 3
- label internal nodes of induced tree
- add synth_id to response from synth-dependent services HOT 4
- add synth_id option to "about" to retrieve metadata for old versions
- Display more than 3 levels if not too many tips HOT 6
- Support arguson format in induced_subtree method
- Newick strings contains comma-rightparen
- Input files all use UTF-8 encoding, need to read them that way HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from treemachine.