Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cicd: fix hook names #208

Merged
merged 2 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- cmd: "end-of-file-fixer"
- cmd: "trailing-whitespace"
- cmd: "mixed-line-ending"
hook:
- "end-of-file-fixer"
- "trailing-whitespace"
- "mixed-line-ending"
steps:
- uses: actions/checkout@v4

Expand All @@ -81,7 +82,7 @@ jobs:

- uses: pre-commit/[email protected]
with:
extra_args: ${{ matrix.cmd }} --all-files
extra_args: ${{ matrix.hook }} --all-files
docs:
runs-on: ubuntu-latest
env:
Expand Down
68 changes: 34 additions & 34 deletions docs/make.bat
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
@ECHO OFF
pushd %~dp0
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=source
set BUILDDIR=build
%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.https://www.sphinx-doc.org/
exit /b 1
)
if "%1" == "" goto help
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end
:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
:end
@ECHO OFF

pushd %~dp0

REM Command file for Sphinx documentation

if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=source
set BUILDDIR=build

%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.https://www.sphinx-doc.org/
exit /b 1
)

if "%1" == "" goto help

%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end

:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%

:end
popd
38 changes: 19 additions & 19 deletions tests/data/omim/omim_20240806.tsv
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# Copyright (c) 1966-2024 Johns Hopkins University. Use of this file adheres to the terms specified at https://omim.org/help/agreement
# Generated: 2024-08-05
# Prefix MIM Number Preferred Title; symbol Alternative Title(s); symbol(s) Included Title(s); symbols
NULL 247640 LYMPHOBLASTIC LEUKEMIA, ACUTE, WITH LYMPHOMATOUS FEATURES; LALL LYMPHOMATOUS ALL
Percent 309200 MAJOR AFFECTIVE DISORDER 2; MAFD2 MANIC-DEPRESSIVE ILLNESS; MDI;; MANIC-DEPRESSIVE PSYCHOSIS, X-LINKED; MDX;; BIPOLAR AFFECTIVE DISORDER; BPAD
Percent 613065 LEUKEMIA, ACUTE LYMPHOBLASTIC; ALL LEUKEMIA, ACUTE LYMPHOBLASTIC, SUSCEPTIBILITY TO, 1, INCLUDED;; ALL1, INCLUDED;; LEUKEMIA, ACUTE LYMPHOCYTIC, SUSCEPTIBILITY TO, 1, INCLUDED;; LEUKEMIA, B-CELL ACUTE LYMPHOBLASTIC, SUSCEPTIBILITY TO, INCLUDED;; LEUKEMIA, T-CELL ACUTE LYMPHOBLASTIC, SUSCEPTIBILITY TO, INCLUDED;; LEUKEMIA, ACUTE LYMPHOBLASTIC, B-HYPERDIPLOID, SUSCEPTIBILITY TO, INCLUDED
#
#
#
#
# MIM number prefix:
# ------------------
# Asterisk (*) Gene
# Plus (+) Gene and phenotype, combined
# Number Sign (#) Phenotype, molecular basis known
# Percent (%) Phenotype or locus, molecular basis unknown
# NULL (<null>) Other, mainly phenotypes with suspected mendelian basis
# Caret (^) Entry has been removed from the database or moved to another entry
#
# Copyright (c) 1966-2024 Johns Hopkins University. Use of this file adheres to the terms specified at https://omim.org/help/agreement
# Generated: 2024-08-05
# Prefix MIM Number Preferred Title; symbol Alternative Title(s); symbol(s) Included Title(s); symbols
NULL 247640 LYMPHOBLASTIC LEUKEMIA, ACUTE, WITH LYMPHOMATOUS FEATURES; LALL LYMPHOMATOUS ALL
Percent 309200 MAJOR AFFECTIVE DISORDER 2; MAFD2 MANIC-DEPRESSIVE ILLNESS; MDI;; MANIC-DEPRESSIVE PSYCHOSIS, X-LINKED; MDX;; BIPOLAR AFFECTIVE DISORDER; BPAD
Percent 613065 LEUKEMIA, ACUTE LYMPHOBLASTIC; ALL LEUKEMIA, ACUTE LYMPHOBLASTIC, SUSCEPTIBILITY TO, 1, INCLUDED;; ALL1, INCLUDED;; LEUKEMIA, ACUTE LYMPHOCYTIC, SUSCEPTIBILITY TO, 1, INCLUDED;; LEUKEMIA, B-CELL ACUTE LYMPHOBLASTIC, SUSCEPTIBILITY TO, INCLUDED;; LEUKEMIA, T-CELL ACUTE LYMPHOBLASTIC, SUSCEPTIBILITY TO, INCLUDED;; LEUKEMIA, ACUTE LYMPHOBLASTIC, B-HYPERDIPLOID, SUSCEPTIBILITY TO, INCLUDED
#
#
#
#
# MIM number prefix:
# ------------------
# Asterisk (*) Gene
# Plus (+) Gene and phenotype, combined
# Number Sign (#) Phenotype, molecular basis known
# Percent (%) Phenotype or locus, molecular basis unknown
# NULL (<null>) Other, mainly phenotypes with suspected mendelian basis
# Caret (^) Entry has been removed from the database or moved to another entry
#
2 changes: 1 addition & 1 deletion tests/data/oncotree/oncotree_2021-11-02.json

Large diffs are not rendered by default.

Loading