Giter VIP home page Giter VIP logo

pombase-chado-json's People

Contributors

dependabot-support avatar dependabot[bot] avatar kimrutherford avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

kimrutherford

pombase-chado-json's Issues

Dependabot can't resolve your Rust dependency files

Dependabot can't resolve your Rust dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

error: failed to parse manifest at `/home/dependabot/dependabot-updater/dependabot_tmp_dir/Cargo.toml`

Caused by:
  editions are unstable

Caused by:
  feature `edition` is required

this Cargo does not support nightly features, but if you
switch to nightly channel you can add
`cargo-features = ["edition"]` to enable this feature

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

You can mention @dependabot in the comments below to contact the Dependabot team.

Store JSON blobs in SQLite

Create a table for each top level key in the current JSON file. Create two columns: ID and json_blob. Use compression.

Then change the server code to query SQLite instead of holding everything in memory - big job.

Current top level keys:

  • alleles
  • annotation_details
  • children_by_termid
  • chromosomes
  • gene_expression_measurements
  • gene_name_gene_map
  • gene_query_data_map
  • gene_subsets
  • gene_summaries
  • genes
  • genotypes
  • interactors_of_genes
  • other_features
  • references
  • term_subsets
  • term_summaries
  • termid_genes
  • termid_genotype_annotation
  • terms
  • transcripts

Exception, because it is not a map:

  • seq_feature_page_features

Check for site DB connection on startup

Instead of failing when a user tries a query.

This also helps a Babraham issue: sometimes the database isn't available the first time a container is started.

Add an "annotations" map to api_maps

We should store just the annotation IDs in the terms and genes. There is a lot of duplication in the JSON file especially for term because we including annotation from descendent on term pages.

Duplicate annotation ID in SPBC776.02c

The same annotation ID appears twice in the annotations array for one of the terms in the SPBC776.02c JSON. This duplicate is discarded by the web code but we should find out what the cause is:

 {
    "term": "FYPO:0005450",
    "is_not": false,
    "annotations": [
      237667,
      237667
    ],
    "summary": [
      {
        "genotype_uniquenames": [
          "dis1-288-unknown-unknown-expression-not_assayed__dis2-11-unknown-unknown-expression-not_assayed__dis2delta__dis3-54-P509L-amino_acid_mutation-expression-not_assayed__ppa1delta__ppe1delta__sds21delta"
        ]
      }
    ]
  },

Monitor the daily build and report problems

Currently if JSON file generation fails we end up with broken web site. We need to monitor the process and only update the site if the load looks good and JSON generation works.

We'll only update the "beta" site from the nightly load.

Dependabot can't resolve your Rust dependency files

Dependabot can't resolve your Rust dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

error: failed to parse manifest at `/home/dependabot/dependabot-updater//dependabot_tmp_dir/Cargo.toml`

Caused by:
  editions are unstable

Caused by:
  feature `edition` is required

this Cargo does not support nightly features, but if you
switch to nightly channel you can add
`cargo-features = ["edition"]` to enable this feature

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

You can mention @dependabot in the comments below to contact the Dependabot team.

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.