diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json deleted file mode 100644 index d00ac67f..00000000 --- a/.devcontainer/devcontainer.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "image": "sagebionetworks/genie:latest", - "mounts": [ - "source=${localEnv:HOME}/.synapseConfig,target=/root/.synapseConfig,type=bind,consistency=cached" - ] -} diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 497d62ad..00000000 --- a/.dockerignore +++ /dev/null @@ -1,23 +0,0 @@ -*.txt -!requirements.txt -*.bed -*.csv -*.tsv -Dockerfile -db.sqlite3 -__pycache__ -*.pyc -*.pyo -*.pyd -.Python -env -pip-log.txt -pip-delete-this-directory.txt -.tox -.coverage -.coverage.* -.cache -coverage.xml -*,cover -*.log -.git diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 24ae4c41..00000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -* @Sage-Bionetworks/genie-reviewers diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 2dfd3558..00000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,79 +0,0 @@ -# This workflow will install Python dependencies, run tests and lint with a single version of Python -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions - -name: build - -on: - push: - branches: - - develop - - pull_request: - - release: - types: - - created - -jobs: - - test: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: [3.8, 3.9] - steps: - - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - sudo apt-get install -y bedtools - python -m pip install --upgrade pip - pip install flake8 pytest pytest-cov cython - pip install . - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - # - name: Lint with flake8 - # run: | - # # stop the build if there are Python syntax errors or undefined names - # flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - # # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - # flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - - name: Test with pytest - run: | - pytest tests/ --cov=genie --cov=genie_registry --cov-report=html - - name: Upload pytest test results - uses: actions/upload-artifact@v2 - with: - name: pytest-results-${{ matrix.python-version }} - path: htmlcov - # Use always() to always run this step to publish test results when there are test failures - if: ${{ always() }} - - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: psf/black@stable - - deploy: - needs: [test, lint] - runs-on: ubuntu-latest - if: github.event_name == 'release' - permissions: - id-token: write - steps: - - uses: actions/checkout@v2 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.x' - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install setuptools wheel build - - name: Build distributions - run: python -m build - - name: Publish to pypi - uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index f053b188..00000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,72 +0,0 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# -name: "CodeQL" - -on: - push: - branches: [ develop, main ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ develop ] - schedule: - - cron: '15 4 * * 6' - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write - - strategy: - fail-fast: false - matrix: - language: [ 'python' ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] - # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - - # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs - # queries: security-extended,security-and-quality - - - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v2 - - # âšī¸ Command-line programs to run using the OS shell. - # đ See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun - - # If the Autobuild fails above, remove it and uncomment the following three lines. - # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. - - # - run: | - # echo "Run, Build Application using script" - # ./location_of_script_within_repo/buildscript.sh - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 326c8535..00000000 --- a/.gitignore +++ /dev/null @@ -1,28 +0,0 @@ -.Rproj.user -.Rhistory -.RData -.Ruserdata -data/ -*.csv -*.txt -*.pyc -*.tsv -*.png -*.bed -*.gtf -data_guide-004.pdf -data_guide-concordance.tex -data_guide.Rnw -data_guide.log -data_guide.pdf -data_guide.synctex.gz -data_guide.tex -data_guide.toc -data_guide.aux -data_guide.out -*consortium.Rmd -*consortium.html -.vscode/ -Genie.Rproj -build/ -dist/ diff --git a/tests/__init__.py b/.nojekyll similarity index 100% rename from tests/__init__.py rename to .nojekyll diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml deleted file mode 100644 index 4a80f8b8..00000000 --- a/.pre-commit-config.yaml +++ /dev/null @@ -1,63 +0,0 @@ -exclude: '^docs/conf.py' - -repos: -- repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 - hooks: - - id: trailing-whitespace - - id: check-added-large-files - - id: check-ast - - id: check-json - - id: check-merge-conflict - - id: check-xml - - id: check-yaml - - id: debug-statements - - id: end-of-file-fixer - - id: requirements-txt-fixer - - id: mixed-line-ending - args: ['--fix=auto'] # replace 'auto' with 'lf' to enforce Linux/Mac line endings or 'crlf' for Windows - -- repo: https://github.com/charliermarsh/ruff-pre-commit - # Ruff version. - rev: 'v0.0.262' - hooks: - - id: ruff - -- repo: https://github.com/psf/black - rev: 23.3.0 - hooks: - - id: black - language_version: python3 - -- repo: https://github.com/PyCQA/bandit - rev: 1.7.5 - hooks: - - id: bandit - args: ["-c", "pyproject.toml"] - additional_dependencies: ["bandit[toml]"] - -# - repo: https://github.com/asottile/blacken-docs -# rev: v1.12.0 -# hooks: -# - id: blacken-docs -# additional_dependencies: [black] - -- repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.3.0' - hooks: - - id: mypy - # additional_dependencies: [pydantic~=1.10] - -# Checks for missing docstrings -# - repo: https://github.com/econchick/interrogate -# rev: 1.5.0 -# hooks: -# - id: interrogate -# exclude: ^(docs/conf.py|setup.py|tests) -# args: [--config=pyproject.toml] - -# finds dead python code -# - repo: https://github.com/jendrikseipp/vulture -# rev: 'v2.7' -# hooks: -# - id: vulture diff --git a/404.html b/404.html new file mode 100644 index 00000000..c790c92d --- /dev/null +++ b/404.html @@ -0,0 +1,1407 @@ + + + +
+ + + + + + + + + + + + + + + + +