Skip to content

Commit

Permalink
Merge pull request #1159 from dondi/beta
Browse files Browse the repository at this point in the history
v7.2 release candidate
  • Loading branch information
dondi authored Dec 4, 2024
2 parents a030e27 + afc94dd commit 63ab9e9
Show file tree
Hide file tree
Showing 24 changed files with 673 additions and 463 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v4
# install system dependencies needed by the 'canvas' package
- name: Install dependencies for canvas
run: |
sudo apt-get update
sudo apt-get install -y libcairo2-dev libpango1.0-dev libjpeg62 libgif-dev librsvg2-dev
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- run: npm ci
- run: npm run lint
- run: npm run build --if-present
- run: npm test


1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ GRNsight
[![DOI](https://zenodo.org/badge/16195791.svg)](https://zenodo.org/badge/latestdoi/16195791)
[![Build Status](https://app.travis-ci.com/dondi/GRNsight.svg?branch=master)](https://app.travis-ci.com/dondi/GRNsight)
[![Coverage Status](https://coveralls.io/repos/github/dondi/GRNsight/badge.svg?branch=master)](https://coveralls.io/github/dondi/GRNsight?branch=master)
[![Node.js CI](https://github.com/dondi/GRNsight/actions/workflows/node.js.yml/badge.svg)](https://github.com/dondi/GRNsight/actions/workflows/node.js.yml)

http://dondi.github.io/GRNsight/

Expand Down
4 changes: 2 additions & 2 deletions database/network-database/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ CREATE TABLE gene_regulatory_network.network (
time_stamp TIMESTAMP WITH TIME ZONE,
source VARCHAR,
FOREIGN KEY (regulator_gene_id, taxon_id) REFERENCES gene_regulatory_network.gene(gene_id, taxon_id),
FOREIGN KEY (target_gene_id, taxon_id) REFERENCES gene_regulatory_network_testing.gene(gene_id, taxon_id),
FOREIGN KEY (time_stamp, source) REFERENCES gene_regulatory_network_testing.source(time_stamp, source)
FOREIGN KEY (target_gene_id, taxon_id) REFERENCES gene_regulatory_network.gene(gene_id, taxon_id),
FOREIGN KEY (time_stamp, source) REFERENCES gene_regulatory_network.source(time_stamp, source)
);
8 changes: 4 additions & 4 deletions database/protein-protein-database/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ CREATE TABLE protein_protein_interactions.protein (
molecular_weight FLOAT,
PI FLOAT,
taxon_id VARCHAR,
FOREIGN KEY (gene_systematic_name, taxon_id) REFERENCES protein_protein_interactions_testing.gene(gene_id, taxon_id)
FOREIGN KEY (gene_systematic_name, taxon_id) REFERENCES protein_protein_interactions.gene(gene_id, taxon_id)
);

CREATE TABLE protein_protein_interactions.physical_interactions (
Expand All @@ -30,8 +30,8 @@ CREATE TABLE protein_protein_interactions.physical_interactions (
experiment_name VARCHAR,
time_stamp TIMESTAMP WITH TIME ZONE,
source VARCHAR,
FOREIGN KEY (protein1) REFERENCES protein_protein_interactions_testing.protein(standard_name),
FOREIGN KEY (protein2) REFERENCES protein_protein_interactions_testing.protein(standard_name),
FOREIGN KEY (time_stamp, source) REFERENCES protein_protein_interactions_testing.source(time_stamp, source),
FOREIGN KEY (protein1) REFERENCES protein_protein_interactions.protein(standard_name),
FOREIGN KEY (protein2) REFERENCES protein_protein_interactions.protein(standard_name),
FOREIGN KEY (time_stamp, source) REFERENCES protein_protein_interactions.source(time_stamp, source),
CONSTRAINT unique_physical_interaction UNIQUE (protein1, protein2, interaction_detection_methods_identifier, experiment_name, time_stamp, source)
);
Loading

0 comments on commit 63ab9e9

Please sign in to comment.