Skip to content

Commit

Permalink
feat: instead of fork jsut cp entire venome
Browse files Browse the repository at this point in the history
  • Loading branch information
xnought committed Feb 9, 2024
1 parent 4f78e0b commit cda8dcf
Show file tree
Hide file tree
Showing 138 changed files with 29,116 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

1 change: 0 additions & 1 deletion frontend/venome-molstar
Submodule venome-molstar deleted from 885b18
118 changes: 118 additions & 0 deletions frontend/venome-molstar/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
{
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true
}
},
"rules": {
"indent": "off",
"arrow-parens": [
"off",
"as-needed"
],
"brace-style": "off",
"comma-spacing": "off",
"space-infix-ops": "off",
"comma-dangle": "off",
"eqeqeq": [
"error",
"smart"
],
"import/order": "off",
"no-eval": "warn",
"no-new-wrappers": "warn",
"no-trailing-spaces": "warn",
"no-unsafe-finally": "warn",
"no-var": "error",
"spaced-comment": "warn",
"semi": "warn",
"no-throw-literal": "error",
"key-spacing": "warn",
"object-curly-spacing": ["warn", "always"],
"array-bracket-spacing": "warn",
"space-in-parens": "warn",
"computed-property-spacing": "error",
"prefer-const": ["warn", {
"destructuring": "all",
"ignoreReadBeforeAssign": false
}],
"space-before-function-paren": "off",
"func-call-spacing": "off",
"no-multi-spaces": "warn",
"block-spacing": "warn",
"keyword-spacing": "off",
"space-before-blocks": "warn",
"semi-spacing": "warn"
},
"overrides": [
{
"files": ["**/*.ts", "**/*.tsx"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["tsconfig.json", "tsconfig.commonjs.json"],
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/class-name-casing": "off",
"@typescript-eslint/indent": [
"error",
4,
{
"ignoredNodes": ["TypeExpression"],
"SwitchCase": 1
}
],
"@typescript-eslint/member-delimiter-style": [
"off",
{
"multiline": {
"delimiter": "none",
"requireLast": true
},
"singleline": {
"delimiter": "semi",
"requireLast": false
}
}
],
"@typescript-eslint/prefer-namespace-keyword": "warn",
"@typescript-eslint/quotes": [
"error",
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"@typescript-eslint/semi": [
"off",
null
],
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/brace-style": [
"error",
"1tbs", { "allowSingleLine": true }
],
"@typescript-eslint/comma-spacing": "warn",
"@typescript-eslint/space-infix-ops": "warn",
"@typescript-eslint/space-before-function-paren": ["warn", {
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}],
"@typescript-eslint/func-call-spacing": ["warn"],
"@typescript-eslint/keyword-spacing": ["warn"]
}
}
]
}
1 change: 1 addition & 0 deletions frontend/venome-molstar/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock.json binary
19 changes: 19 additions & 0 deletions frontend/venome-molstar/.github/workflows/node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build

on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
- run: npm ci
- name: Lint
run: npm run lint
- name: Build
run: npm run build
10 changes: 10 additions & 0 deletions frontend/venome-molstar/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
build/

node_modules/
debug.log
npm-debug.log
tsconfig.tsbuildinfo

*.sublime-workspace
.idea
.DS_Store
3 changes: 3 additions & 0 deletions frontend/venome-molstar/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
!build/
src/
lib/
50 changes: 50 additions & 0 deletions frontend/venome-molstar/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Change Log
All notable changes to this project will be documented in this file, following the suggestions of [Keep a CHANGELOG](http://keepachangelog.com/). This project adheres to [Semantic Versioning](http://semver.org/) for its most widely used - and defacto - public interfaces.

## [Unreleased]

- Mol* core dependency updated to 3.44.0
- Removed Assembly Symmetry hack (now will hide assembly symmetry section for non-biological assemblies)
- Manual testing via `portfolio.html`
- Fixed hideStructure.nonStandard option
- hideStructure.het option also hides ions
- Removed loadCartoonsOnly option
- Setting highlight and selection color (by `.visual.setColor()`) includes the outline color
- Web-component attributes renamed to `ligand-auth-asym-id` and `ligand-struct-asym-id` (lowercase i)

## [v3.1.3]
- Added ``Assembly Symmetry`` to structure controls, requires setting ``symmetryAnnotation`` in initialization parameters
- Keep sequence panel in settings even when initially hidden
- Changed `tsconfig.json` to place `tsconfig.tsbuildinfo` correctly (for incremental build)
- Fixed coloring after annotation is switched off (revert to `chain-id`, not `polymer-id`)
- Loading overlay with animated PDBe logo (requires initParam `loadingOverlay`)
- Use linting to keep code nice
- Correctly handle numeric value 0 in selections
- Fetch structures from static files when possible, instead of using ModelServer

## [v3.1.2]
- Added PDBe Sifts Mappings module to solve UniPort mappings issue
- Split Webpack config file into separate files for Production and Development

## [v3.1.1]
- Controls menu visible for AlphaFold view
- ``Reactive`` parameter addition for better responsive layout support

## [v3.1.0]
- Mol* core dependency updated to V3.15.0
- Superposition view - added option to superpose AlphaFold model
- UniPort residue numbering param addition to higlight and selection helper methods
- New param to display Sequence panel [62](https://github.com/molstar/lib/pdbe-molstar/lib/issues/62)

## [v1.2.1] - 2021-12-03
- Selection helper method ``representationColor`` param issue fix

## [v1.2.0] - 2021-09-20
- Add parameters to support AlphaFold Protein Structure DB view
- Add parameters to customize mouse events, issues [#8](https://github.com/PDBeurope/pdbe-molstar/lib/issues/8)
- Add parameter to customize ``lighting`` setting
- Extend ``Selection / highlight`` helper methods to support ``label_atom_id`` list, issues [#32](https://github.com/PDBeurope/pdbe-molstar/lib/issues/32)
- Extend helper methods support for multiple structures
- Extend ``hideCanvasControls``
- Fix Frame rate drop issue while rotating the canvas
- Fix RGB color issue for params starting with r:0
Loading

0 comments on commit cda8dcf

Please sign in to comment.