Skip to content

Commit

Permalink
Remove templating
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsmkn committed Aug 7, 2024
1 parent 33573e7 commit f411e24
Show file tree
Hide file tree
Showing 70 changed files with 37 additions and 16,844 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Setup Python ${{ matrix.python-version }}
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.6.0
hooks:
- id: check-docstring-first
- id: debug-statements
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.17.0
hooks:
- id: pyupgrade
language: python
args: [--py38-plus]
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/ambv/black
rev: 23.1.0
rev: 24.8.0
hooks:
- id: black
language: python
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 7.1.1
hooks:
- id: flake8
language: python
Expand All @@ -35,6 +35,6 @@ repos:
- mccabe
- yesqa
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.0.1'
rev: 'v1.11.1'
hooks:
- id: mypy
5 changes: 5 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# History

## 0.5.0 (2024-08-07)

- Removed templating
- Added support for Python 3.12

## 0.4.2 (2023-06-09)

- Replace pandas append function with concat
Expand Down
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ containers for grand-challenge.org.

## Features

- Generation your challenge evaluation project boilerplate using
[Cookiecutter](https://github.com/audreyr/cookiecutter)
- Scripts to build, test and export your generated docker container
for grand-challenge.org
- Loading of CSV, ITK and Pillow compatible prediction files
- Validation of submitted predictions
- Interface to SciKit-Learn metrics and Pandas aggregations
- Bounding box annotations with Jaccard Index calculations
Expand Down
114 changes: 0 additions & 114 deletions docs/contributing.rst

This file was deleted.

16 changes: 1 addition & 15 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,28 +1,14 @@
Welcome to evalutils's documentation!
======================================

The automated evaluation system on `Grand Challenge`_ will run an instance of
your evaluation docker container image on each new submission.
The users submission will be extracted on ``/input/``, and your container
is expected to calculate all of the metrics for this submission, and write them
to ``/output/metrics.json``.
If the metrics cannot be calculated, the container should write to ``stderr``
and the last line of this will be passed to the user so that they can debug
their submission.

`evalutils`_ helps you do this by providing a package that helps you create
a project structure, load and validate the submissions, score the submission,
write the json file, and package this in a docker container image so that
you can then upload it to `Grand Challenge`_.
`evalutils`_ contains useful functions for evaluating machine learning models in the context of medical imaging.

.. toctree::
:maxdepth: 2
:caption: Contents:

installation
usage
modules
contributing

Indices and tables
==================
Expand Down
25 changes: 2 additions & 23 deletions docs/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,6 @@
Modules
=======


Evalutils
---------

.. py:module:: evalutils
.. automodule:: evalutils.evalutils
:members:

IO
--

.. automodule:: evalutils.io
:members:

Validators
----------

.. automodule:: evalutils.validators
:members:

Scorers
-------

Expand All @@ -37,8 +16,8 @@ Annotations
.. autoclass:: BoundingBox()
:members:

Statistics
----------
Stats
-----

.. automodule:: evalutils.stats
:members:
Expand Down
Loading

0 comments on commit f411e24

Please sign in to comment.