@datagrok/hit-triage 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/databases/hitdesign/0001_dict.sql +16 -0
- package/dist/package-test.js +1 -1665
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +1 -8719
- package/dist/package.js.map +1 -1
- package/package.json +5 -2
- package/queries/vid.sql +90 -0
- package/src/app/accordeons/new-hit-design-campaign-accordeon.ts +2 -3
- package/src/app/consts.ts +1 -1
- package/src/app/hit-app-base.ts +10 -5
- package/src/app/hit-design-app.ts +66 -72
- package/src/app/hit-triage-app.ts +5 -4
- package/src/app/pepti-hit-app.ts +28 -37
- package/src/app/utils/calculate-single-cell.ts +1 -25
- package/src/app/utils/molreg.ts +191 -0
- package/src/package-api.ts +36 -0
- package/src/package.g.ts +13 -0
- package/src/package.ts +43 -3
- package/src/packageSettingsEditor.ts +2 -3
- package/webpack.config.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
-- Table for storing canonical SMILES with auto-generated VIDs
|
|
2
|
+
CREATE TABLE hitdesign.vid_dictionary (
|
|
3
|
+
id SERIAL PRIMARY KEY,
|
|
4
|
+
vid VARCHAR(15) GENERATED ALWAYS AS ('V' || LPAD(id::TEXT, 6, '0')) STORED UNIQUE,
|
|
5
|
+
mh_string TEXT NOT NULL UNIQUE
|
|
6
|
+
);
|
|
7
|
+
|
|
8
|
+
-- Table for tracking which VIDs are used in which campaigns
|
|
9
|
+
CREATE TABLE hitdesign.campaign_vids (
|
|
10
|
+
app_name VARCHAR(100) NOT NULL,
|
|
11
|
+
vid VARCHAR(15) NOT NULL REFERENCES hitdesign.vid_dictionary(vid),
|
|
12
|
+
campaign_id VARCHAR(255) NOT NULL,
|
|
13
|
+
created_by TEXT,
|
|
14
|
+
PRIMARY KEY (app_name, vid, campaign_id)
|
|
15
|
+
);
|
|
16
|
+
|