Skip to content

Commit

Permalink
Update CHANGELOG (#335)
Browse files Browse the repository at this point in the history
* Update changelog for version 1.1.1

* Update to the latest dependencies versions

* Prepare release version and update Python version in installation instructions

* Update Python minimal version verification

* Add flag to list_models subcommand

* Update version on pyproject.toml file

* Remove unnnecesary files in MANIFEST and initialization
  • Loading branch information
mdiazmel authored Jul 28, 2022
1 parent f7b1cf7 commit 8290e29
Show file tree
Hide file tree
Showing 8 changed files with 114 additions and 394 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,26 @@ Main changes to this code/ project are documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## ClinicaDL 1.1.1

### Changed

** Core: **

- Dependencies versions were updated in order to support Python equal or
greater than 3.8.
- Security updates for some dependencies.
- Include the `--save_tensor` and `--save_nifty` options into the `predict`
sub-command (before `save_tensor` was also subcommand`).
- Update some paper references in the documentation.
- Add a description for the available models.
- Add the flag `--model_layers` to the `clinicadl train list_models` subcommad
to visualize the model layers.

### Fixed

- Fix bug when using the `clinicadl train list_models` command.

## ClinicaDL 1.1.0

### Changed
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
include README.md
include clinicadl/VERSION
include LICENSE.txt
include clinicadl/clinicadl/preprocessing/t1_extensive/info.json
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ as it guarantees the correct management of libraries depending on common
packages:

```{.sourceCode .bash}
conda create --name ClinicaDL python=3.7
conda create --name ClinicaDL python=3.8
conda activate ClinicaDL
pip install clinicadl
```
Expand Down
1 change: 0 additions & 1 deletion clinicadl/VERSION

This file was deleted.

18 changes: 3 additions & 15 deletions clinicadl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
from importlib.metadata import version

from .utils.maps_manager import MapsManager

__all__ = ["__version__", "MapsManager"]

# Load the Clinica package version
import pkgutil
import sys

__version__ = pkgutil.get_data(__package__, "VERSION").decode("ascii").strip()
version = __version__

# import pkg_resources
# version = pkg_resources.require("Clinica")[0].version
# __version__ = version

# python 3.6 minimum version is required
if sys.version_info < (3, 7):
print(f"ClinicaDL {__version__} requires Python 3.7")
sys.exit(1)
__version__ = version("clinicadl")
2 changes: 1 addition & 1 deletion docs/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ bash /tmp/miniconda-installer.sh
The latest release of ClinicaDL can be installed using `pip` as follows:

```{.sourceCode .bash}
conda create --name clinicadlEnv python=3.7
conda create --name clinicadlEnv python=3.8
conda activate clinicadlEnv
pip install clinicadl
```
Expand Down
Loading

0 comments on commit 8290e29

Please sign in to comment.