Skip to content

Commit 841cc05

Browse files
Merge pull request #63 from Caleydo/release-5.0.0
Release 5.0.0
2 parents 6099107 + 93a6278 commit 841cc05

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+2744
-2593
lines changed

.eslintcache

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: build
22

33
on: [push, workflow_dispatch]
44

5+
permissions:
6+
contents: write
7+
id-token: write
8+
59
jobs:
610
build:
711
uses: datavisyn/github-workflows/.github/workflows/build-node-python.yml@main

coral/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
###############################################################################
66
from os import path
77

8-
from tdp_core.plugin.model import AVisynPlugin, RegHelper
8+
from visyn_core.plugin.model import AVisynPlugin, RegHelper
99

1010
from .settings import CoralSettings
1111

coral/migration/env.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import tdp_core.dbmigration.env
1+
import visyn_core.dbmigration.env
22

3-
tdp_core.dbmigration.env.run_migrations_online()
3+
visyn_core.dbmigration.env.run_migrations_online()

coral/migration/versions/20220414_1158_ddd776aa28c3_.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ def upgrade():
1919
for cmd in [
2020
"""
2121
CREATE SCHEMA IF NOT EXISTS cohort;
22-
CREATE SEQUENCE cohort.cohort_id_seq
22+
CREATE SEQUENCE IF NOT EXISTS cohort.cohort_id_seq
2323
INCREMENT 1
2424
START 1
2525
MINVALUE 1
2626
MAXVALUE 2147483647
2727
CACHE 1;
2828
""",
2929
"""
30-
CREATE TABLE cohort.cohort
30+
CREATE TABLE IF NOT EXISTS cohort.cohort
3131
(
3232
id integer NOT NULL DEFAULT nextval('cohort.cohort_id_seq'::regclass),
3333
name character varying COLLATE pg_catalog."default" NOT NULL,

coral/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from pydantic import BaseModel
2-
from tdp_core import manager
2+
from visyn_core import manager
33

44

55
class CoralSettings(BaseModel):

coral/sql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import logging
22

33
from flask import Flask, abort, jsonify, request
4-
from tdp_core.security import login_required
4+
from visyn_core.security import login_required
55

66
from .settings import get_settings
77
from .sql_query_mapper import QueryElements

coral/sql_query_mapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from sqlalchemy import create_engine, exc, inspect, text
88
from sqlalchemy.exc import NoInspectionAvailable
99
from sqlalchemy.orm import sessionmaker
10-
from tdp_core import manager
10+
from visyn_core import manager
1111

1212
from .settings import get_settings
1313
from .sql_tables import Cohort

coral/tests/conftest.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import pytest
22
from fastapi import FastAPI
33
from fastapi.testclient import TestClient
4-
from tdp_core.security.manager import SecurityManager
5-
from tdp_core.security.model import User
6-
from tdp_core.server.visyn_server import create_visyn_server
7-
from tdp_core.tests.fixtures.postgres_db import postgres_db
4+
from visyn_core.security.manager import SecurityManager
5+
from visyn_core.security.model import User
6+
from visyn_core.server.visyn_server import create_visyn_server
7+
from visyn_core.tests.fixtures.postgres_db import postgres_db
88

99
assert postgres_db # silence unused import warning
1010

package.json

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "coral",
33
"description": "Coral is a web-based cohort analysis tool to interactively create, refine, and analyze patient cohorts.",
44
"homepage": "https://caleydo.org",
5-
"version": "4.1.0",
5+
"version": "5.0.0",
66
"author": {
77
"name": "PatrickAdelberger",
88
"email": "[email protected]",
@@ -32,7 +32,7 @@
3232
"dist": "mkdir lib && cd dist && tar cvzf ../lib/bundle.tar.gz *",
3333
"docs": "visyn_scripts docs",
3434
"lint:fix": "visyn_scripts lint --fix",
35-
"lint": "visyn_scripts lint || true",
35+
"lint": "visyn_scripts lint",
3636
"prepack": "yarn run build",
3737
"start": "visyn_scripts start --env workspace_mode=single",
3838
"storybook:build": "NODE_OPTIONS=--max_old_space_size=4096 build-storybook",
@@ -72,27 +72,30 @@
7272
"react-dom": "^16.13.0",
7373
"react-router-dom": "^5.2.0",
7474
"split-grid": "^1.0.9",
75-
"tdp_core": "^17.0.0",
76-
"tdp_publicdb": "git+ssh://[email protected]/caleydo/tdp_publicdb#semver:^13.0.3",
75+
"tdp_core": "^20.1.0",
76+
"tdp_publicdb": "git+ssh://[email protected]:Caleydo/tdp_publicdb#semver:^14.0.0",
7777
"tippy.js": "^6.2.6",
78-
"tourdino": "git+ssh://[email protected]/caleydo/tourdino#semver:^7.0.1",
78+
"tourdino": "git+ssh://[email protected]:Caleydo/tourdino#semver:^8.0.0",
7979
"vega": "~5.20.0",
8080
"vega-embed": "6.19.1",
8181
"vega-functions": "5.12.0",
8282
"vega-lite": "5.1.1",
8383
"vega-parser": "6.1.3",
84-
"visyn_scripts": "^1.1.1"
84+
"visyn_scripts": "^4.1.0"
8585
},
8686
"devDependencies": {
8787
"@types/d3-selection": "^3.0.2",
8888
"@types/d3-transition": "^3.0.1",
89-
"@types/react": "^16.14.6",
90-
"@types/react-dom": "^16.9.5",
91-
"@types/react-router-dom": "^5.1.7",
9289
"mkdirp": "0.5.1",
9390
"tslint": "~5.20.1",
9491
"worker-loader": "^2.0.0"
9592
},
93+
"resolutions": {
94+
"@types/react": "~18.2.0",
95+
"@types/react-dom": "~18.2.0",
96+
"react": "~18.2.0",
97+
"react-dom": "~18.2.0"
98+
},
9699
"browser": {
97100
"fs": false,
98101
"os": false,

0 commit comments

Comments
 (0)