GithubHelp home page GithubHelp logo

uofs-pulse-binfo / tripal_citation Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 169 KB

Tripal Fields specific to providing automated citations for data based on properties + publications

License: GNU General Public License v2.0

PHP 96.82% JavaScript 1.70% CSS 1.40% Shell 0.08%

tripal_citation's People

Contributors

laceysanderson avatar reynoldtan avatar

Watchers

 avatar  avatar

tripal_citation's Issues

Display issues

  1. Try resolving the token when there is no publication link.
  2. Collapse to blank entry for missing tokens.

Access to table columns as tokens

For genome assemblies we are using the current citation template:

{tripal_pub:Authors} (RELEASE DATE) {taxonomic_rank:genus} {taxonomic_rank:species}: GERMPLASM NAME genome assembly ({local:abbreviation}, version {IAO:version number}) [dataset]. {NCIT:Data Source}. Retrieved from {CURRENT_URL}

However, the RELEASE DATE and GERMPLASM NAME are actually stored in the analysis table itself -not as properties or publications. Specifically, the release date is the analysis.timeexecuted column with special formatting and the germplasm name is the analysis.sourcename column.

I'm wondering if the most generic approach might be to allow field machine names as tokens. For these two that would mean using the tokens {local__time_executed} and {local__source_data} respectively. We could also use {FIELD:field_name} is that were easier to parse. This allows us to get around the formatting for things like the analysis.timeexecuted column since the field does that for us.

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.