-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to pangolin v3 and other minor dependency upgrades
- Loading branch information
Showing
24 changed files
with
4,330 additions
and
3,134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,9 @@ | ||
frontend/node_modules | ||
frontend/build | ||
frontend/build | ||
frontend/.yarn/* | ||
!frontend/.yarn/patches | ||
!frontend/.yarn/releases | ||
!frontend/.yarn/plugins | ||
!frontend/.yarn/sdks | ||
!frontend/.yarn/versions | ||
frontend/.pnp.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"name": "Linux", | ||
"includePath": [ | ||
"${workspaceFolder}/**" | ||
], | ||
"defines": [], | ||
"compilerPath": "/usr/bin/clang", | ||
"cStandard": "c11", | ||
"cppStandard": "c++14", | ||
"intelliSenseMode": "linux-clang-x64" | ||
} | ||
], | ||
"version": 4 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,5 @@ name: bcftools | |
channels: | ||
- conda-forge | ||
- bioconda | ||
- defaults | ||
dependencies: | ||
- bcftools=1.11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"arcanis.vscode-zipfs", | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"search.exclude": { | ||
"**/.yarn": true, | ||
"**/.pnp.*": true | ||
}, | ||
"eslint.nodePath": ".yarn/sdks", | ||
"prettier.prettierPath": ".yarn/sdks/prettier/index.js" | ||
} |
356 changes: 321 additions & 35 deletions
356
frontend/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env node | ||
|
||
const {existsSync} = require(`fs`); | ||
const {createRequire, createRequireFromPath} = require(`module`); | ||
const {resolve} = require(`path`); | ||
|
||
const relPnpApiPath = "../../../../.pnp.cjs"; | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath); | ||
const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath); | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require eslint/bin/eslint.js | ||
require(absPnpApiPath).setup(); | ||
} | ||
} | ||
|
||
// Defer to the real eslint/bin/eslint.js your application uses | ||
module.exports = absRequire(`eslint/bin/eslint.js`); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env node | ||
|
||
const {existsSync} = require(`fs`); | ||
const {createRequire, createRequireFromPath} = require(`module`); | ||
const {resolve} = require(`path`); | ||
|
||
const relPnpApiPath = "../../../../.pnp.cjs"; | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath); | ||
const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath); | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require eslint/lib/api.js | ||
require(absPnpApiPath).setup(); | ||
} | ||
} | ||
|
||
// Defer to the real eslint/lib/api.js your application uses | ||
module.exports = absRequire(`eslint/lib/api.js`); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "eslint", | ||
"version": "7.32.0-sdk", | ||
"main": "./lib/api.js", | ||
"type": "commonjs" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# This file is automatically generated by @yarnpkg/sdks. | ||
# Manual changes might be lost! | ||
|
||
integrations: | ||
- vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env node | ||
|
||
const {existsSync} = require(`fs`); | ||
const {createRequire, createRequireFromPath} = require(`module`); | ||
const {resolve} = require(`path`); | ||
|
||
const relPnpApiPath = "../../../.pnp.cjs"; | ||
|
||
const absPnpApiPath = resolve(__dirname, relPnpApiPath); | ||
const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath); | ||
|
||
if (existsSync(absPnpApiPath)) { | ||
if (!process.versions.pnp) { | ||
// Setup the environment to be able to require prettier/index.js | ||
require(absPnpApiPath).setup(); | ||
} | ||
} | ||
|
||
// Defer to the real prettier/index.js your application uses | ||
module.exports = absRequire(`prettier/index.js`); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "prettier", | ||
"version": "2.3.2-sdk", | ||
"main": "./index.js", | ||
"type": "commonjs" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,21 +4,21 @@ | |
"private": true, | ||
"dependencies": { | ||
"@2fd/ant-design-icons": "2.4.1", | ||
"@ant-design/icons": "4.6.2", | ||
"antd": "4.16.1", | ||
"core-js": "^3.13.1", | ||
"dayjs": "1.10.5", | ||
"@ant-design/icons": "4.7.0", | ||
"antd": "4.16.13", | ||
"core-js": "^3.19.1", | ||
"dayjs": "1.10.7", | ||
"eslint-config-react-app": "^6.0.0", | ||
"history": "5.0.0", | ||
"history": "5.1.0", | ||
"markdown-to-jsx": "7.1.3", | ||
"react": "^17.0.2", | ||
"react-app-polyfill": "2.0.0", | ||
"react-dom": "^17.0.2", | ||
"react-refetch": "^3.0.1", | ||
"react-router-dom": "6.0.0-beta.0", | ||
"react-router-dom": "6.0.2", | ||
"react-scripts": "4.0.3", | ||
"react-window": "1.8.6", | ||
"xlsx": "^0.17.0" | ||
"xlsx": "^0.17.4" | ||
}, | ||
"scripts": { | ||
"start": "craco start", | ||
|
@@ -38,13 +38,14 @@ | |
] | ||
}, | ||
"devDependencies": { | ||
"@craco/craco": "6.1.2", | ||
"@craco/craco": "6.4.0", | ||
"antd-dayjs-webpack-plugin": "1.0.6", | ||
"babel-plugin-import": "1.13.3", | ||
"craco-less": "1.17.1", | ||
"eslint": "^7.27.0", | ||
"craco-less": "1.20.0", | ||
"eslint": "^7.32.0", | ||
"eslint-config-prettier": "8.3.0", | ||
"eslint-plugin-prettier": "3.4.0", | ||
"prettier": "2.3.0" | ||
} | ||
"eslint-plugin-prettier": "3.4.1", | ||
"prettier": "2.4.1" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,47 @@ | ||
const render = (x) => <kbd>{x}</kbd>; | ||
|
||
export const FIELDS = [ | ||
{ | ||
name: 'lineage', | ||
label: 'Lineage', | ||
render: (x, pred) => <b>{pred['Lineage name'] || x}</b>, | ||
}, | ||
{ name: 'probability', label: 'Assignment probability' }, | ||
{ name: 'conflict', label: 'Assignment conflict', extra: '0 = no conflicts' }, | ||
{ | ||
name: 'conflict', | ||
label: 'Assignment conflict', | ||
extra: | ||
'0 = no conflicts, otherwise the number of categories the sequence could fit into', | ||
}, | ||
{ | ||
name: 'ambiguity_score', | ||
label: 'Ambiguity score', | ||
extra: | ||
'A score of 1 indicates that no sites were imputed, while a score of 0 indicates that more sites were imputed than were not imputed.', | ||
}, | ||
{ name: 'Date range' }, | ||
{ name: 'Days since last sampling' }, | ||
{ name: 'Most common countries' }, | ||
{ name: 'Number of taxa' }, | ||
{ name: 'status', label: 'Status' }, | ||
{ name: 'scorpio_call', label: 'Scorpio call' }, | ||
{ name: 'scorpio_support', label: 'Scorpio support' }, | ||
{ name: 'scorpio_conflict', label: 'Scorpio conflict' }, | ||
{ name: 'version', label: 'Version', render }, | ||
{ | ||
name: 'pangolin_version', | ||
label: 'Pangolin version', | ||
render, | ||
}, | ||
{ | ||
name: 'pangoLEARN_version', | ||
label: 'pangoLEARN version', | ||
render: (x) => <kbd>{x}</kbd>, | ||
render, | ||
}, | ||
{ | ||
name: 'pango_version', | ||
label: 'Pango version', | ||
render: (x) => <kbd>{x}</kbd>, | ||
}, | ||
{ | ||
name: 'pangolin_version', | ||
label: 'Pangolin version', | ||
render: (x) => <kbd>{x}</kbd>, | ||
render, | ||
}, | ||
{ name: 'status', label: 'Status' }, | ||
{ name: 'note', label: 'Note' }, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.