-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #70 from oncoray/dev2.2.1
Release version 2.2.1
- Loading branch information
Showing
799 changed files
with
13,931 additions
and
3,211 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[run] | ||
concurrency = multiprocessing | ||
parallel = true | ||
|
||
[report] | ||
exclude_also = | ||
raise ValueError | ||
raise TypeError | ||
raise NotImplementedError | ||
raise FileNotFoundError | ||
warnings.warn |
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,29 @@ | ||
--- | ||
name: Bugs and problems | ||
about: General issue template | ||
title: '' | ||
labels: bug | ||
assignees: '' | ||
|
||
--- | ||
|
||
Please use the below template to submit your issue: | ||
|
||
# Expected behaviour | ||
|
||
What did you expect MIRP to do? | ||
|
||
# Observed behaviour | ||
|
||
What did MIRP actually do? What error (if any) was produced? | ||
|
||
# Steps to reproduce the problem | ||
|
||
What steps are required to reproduce the problem? If possible, provide code and data that led to the problem. | ||
|
||
# Specifications | ||
|
||
- MIRP version: | ||
- Python version: | ||
- Operating system: | ||
- Other package versions (*if relevant*): |
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,31 @@ | ||
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | ||
|
||
name: Run automated tests on multiple platforms | ||
|
||
on: [pull_request, workflow_dispatch] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [ "3.10", "3.11"] | ||
os: [ ubuntu-latest, macos-latest, windows-latest ] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install . | ||
python -m pip install .[test] | ||
- name: Test with pytest | ||
run: | | ||
python -m pytest -m ci test |
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,16 +1,18 @@ | ||
# How to contribute | ||
# Contributing | ||
|
||
If you have ideas or code to contribute, please first open an [issue](https://github.com/oncoray/mirp/issues). We will then discuss your ideas and create an implementation roadmap. | ||
IRP is open-source software, hosted on [GitHub](https://github.com/oncoray/mirp). Contributions that enable | ||
new DICOM modalities are especially welcome! If you have ideas or code to contribute, please first open an | ||
`issue <https://github.com/oncoray/mirp/issues>`_ and describe your ideas. | ||
|
||
Please keep the following in mind when contributing: | ||
Technical documentation is forthcoming. For now, please keep the following in mind when contributing: | ||
|
||
- The main branch of `mirp` is protected. You can therefore make a pull request for your contribution to a | ||
development branch of the intended future version. | ||
- If you introduce new functionality, this functionality should be tested as part of the tests in the `test`directory. | ||
- If you introduce new functionality, this functionality should be tested as part of the tests in the `test` directory. | ||
After implementation, please ensure that all tests complete without errors by running `pytest` from your IDE or | ||
console using `python -m pytest test` from the mirp main directory. | ||
- Code is styled according to [PEP8](https://peps.python.org/pep-0008/). Using a linter or IDE with automated linter | ||
is recommended. | ||
- Function, class and method documentation is done using Numpy-flavoured [docstrings](https://numpydoc.readthedocs.io/en/latest/format.html). | ||
[Long-form documentation](https://oncoray.github.io/mirp/) is partially created from function, class and method | ||
documentation, embedded in restructured text files in `docs_source`. | ||
documentation, embedded in restructured text files in the `docs_source` directory. |
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
Binary file not shown.
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,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 17cbf7e65c49e001bf222ac3d01664cc | ||
config: 9361bdd63c38ffe1be89d15a43241fd1 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Oops, something went wrong.