diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..0bda5d7 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,19 @@ +# See https://pre-commit.com for more information +# See https://pre-commit.com/hooks.html for more hooks +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.3.0 + hooks: + - id: trailing-whitespace + - id: end-of-file-fixer + - id: check-yaml + - id: check-added-large-files + - repo: https://github.com/pre-commit/mirrors-prettier + rev: "v2.7.1" # Use the sha / tag you want to point at + hooks: + - id: prettier + - repo: https://github.com/pre-commit/mirrors-yapf + rev: v0.32.0 + hooks: + - id: yapf + additional_dependencies: [toml] diff --git a/README.md b/README.md index d10524d..231e4e5 100644 --- a/README.md +++ b/README.md @@ -4,10 +4,8 @@ A simple genome browser for smallish genomes (e.g. viruses and bacteria) ![image](https://user-images.githubusercontent.com/19732295/219011538-43b9b66b-0227-4171-87c6-08b496a7bf2e.png) - ## https://gensplore.theo.io/ - ### Adding custom genomes For viewing a custom genome every now and then, just use the "Choose file" option. If you are doing this all the time you might want an easier method. Bacterial genomes load too slowly from NCBI for us to load them directly, but you can upload your own to a website that allows CORS access, then go to `http://gensplore.theo.io/?gb=http://mywebsite.com/myfile.gb`. If you have trouble with this feel free to raise an Issue and we may be able to add your genome. diff --git a/postcss.config.js b/postcss.config.js index e2dc478..12a703d 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -2,5 +2,5 @@ module.exports = { plugins: { tailwindcss: {}, autoprefixer: {}, - } -} \ No newline at end of file + }, +}; diff --git a/public/index.html b/public/index.html index 4a486ab..f219a12 100644 --- a/public/index.html +++ b/public/index.html @@ -5,31 +5,38 @@ - + + Gensplore + + + + + + + + + - /> - - Gensplore - - - - - - - - + + + + + + + - - - - - - - - - +