[ENH] Use and document towncrier for creating and maintaining changelogs #213
43 changed files with 342 additions and 262 deletions
2
.github/pull_request_template.md
vendored
2
.github/pull_request_template.md
vendored
|
|
@ -1,4 +1,4 @@
|
|||
* [ ] fix #(issue number)
|
||||
* [ ] description of feature/fix
|
||||
* [ ] tests added/passed
|
||||
* [ ] add an entry to the [latest changes](../docs/changes/latest.inc)
|
||||
* [ ] add an entry for the latest changes
|
||||
|
|
|
|||
1
.github/workflows/docs-preview.yml
vendored
1
.github/workflows/docs-preview.yml
vendored
|
|
@ -22,6 +22,7 @@ jobs:
|
|||
- name: Checkout source
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: true
|
||||
- name: Set up Python 3.10
|
||||
uses: actions/setup-python@v4
|
||||
|
|
|
|||
|
|
@ -12,16 +12,34 @@ BUILDDIR ?= _build
|
|||
help:
|
||||
@$(SPHINXBUILD) --help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||
|
||||
.PHONY: help Makefile
|
||||
.PHONY: help Makefile clean local news _build_local _html
|
||||
|
||||
clean:
|
||||
rm -rf $(BUILDDIR)/*
|
||||
rm -rf auto_examples/
|
||||
|
||||
# For local build
|
||||
local:
|
||||
local: news
|
||||
make _build_local; STATUS=$$?; make news_cleanup; exit $$STATUS
|
||||
|
||||
news:
|
||||
@echo "Generating whats_new.rst"
|
||||
cd ../ && towncrier build --keep
|
||||
|
||||
news_cleanup:
|
||||
@echo "Cleaning up whats_new.rst"
|
||||
git restore --staged whats_new.rst
|
||||
git restore whats_new.rst
|
||||
|
||||
_build_local:
|
||||
sphinx-build "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||
|
||||
html: news
|
||||
make _html; STATUS=$$?; make news_cleanup; exit $$STATUS
|
||||
|
||||
_html:
|
||||
$(SPHINXBUILD) "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
|
||||
|
||||
# Catch-all target: route all unknown targets to Sphinx using the new
|
||||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
||||
%: Makefile
|
||||
|
|
|
|||
6
docs/_static/css/custom.css
vendored
6
docs/_static/css/custom.css
vendored
|
|
@ -14,4 +14,10 @@
|
|||
#versions {
|
||||
display: none;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Reduce font size of "What's New" section */
|
||||
#what-s-new li,
|
||||
#what-s-new a {
|
||||
font-size: medium;
|
||||
}
|
||||
|
|
@ -1,115 +0,0 @@
|
|||
v0.0.1
|
||||
------
|
||||
|
||||
Enhancements
|
||||
~~~~~~~~~~~~
|
||||
|
||||
- Create the repository based on the mockup by `Fede Raimondo`_.
|
||||
|
||||
- Implement :class:`junifer.testing.datagrabbers.SPMAuditoryTestingDatagrabber` datagrabber
|
||||
(:gh:`52` by `Fede Raimondo`_).
|
||||
|
||||
- Add comments to :class:`junifer.datagrabber.DataladDataGrabber` datagrabber and change to
|
||||
use ``datalad-clone`` instead of ``datalad-install`` (:gh:`55` by `Benjamin Poldrack`_).
|
||||
|
||||
- Add an example how to use junifer and julearn in one pipeline to extract features
|
||||
and do machine learning (:gh:`40` by `Leonard Sasse`_, `Nicolas Nieto`_, and `Sami Hamdan`_).
|
||||
|
||||
- Implement matrix storage in SQliteFeatureStorage (:gh:`42` by `Fede Raimondo`_).
|
||||
|
||||
- Implement :class:`junifer.markers.FunctionalConnectivityParcels` marker for functional
|
||||
connectivity using a parcellation (:gh:`41` by `Amir Omidvarnia`_ and `Kaustubh R. Patil`_).
|
||||
|
||||
- Add documentation for the datagrabbers (by `Leonard Sasse`_,
|
||||
`Nicolas Nieto`_, and `Sami Hamdan`_).
|
||||
|
||||
- Implement coordinate register, list and load (:gh:`11` by `Fede Raimondo`_).
|
||||
|
||||
- Add :class:`junifer.datagrabber.DataladAOMICID1000` datagrabber for AOMIC ID1000 dataset
|
||||
including tests and creation of mock dataset for testing (:gh:`60` by `Vera Komeyer`_, `Xuan Li`_).
|
||||
|
||||
- Add support to access other input in the data object in the ``compute`` method
|
||||
(by `Fede Raimondo`_).
|
||||
|
||||
- Implement :class:`junifer.markers.RSSETSMarker` marker (:gh:`51` by `Leonard Sasse`_,
|
||||
`Nicolas Nieto`_, `Sami Hamdan`_).
|
||||
|
||||
- Implement :class:`junifer.markers.SphereAggregation` marker (by `Fede Raimondo`_).
|
||||
|
||||
- Implement :class:`junifer.datagrabber.DataladAOMICPIOP1` and
|
||||
:class:`junifer.datagrabber.DataladAOMICPIOP2` datagrabbers for AOMIC PIOP1 and PIOP2 datasets
|
||||
respectively and refactor :class:`junifer.datagrabber.DataladAOMICID1000` slightly
|
||||
(:gh:`94` by `Leonard Sasse`_)
|
||||
|
||||
- Implement :class:`junifer.configs.juseless.datagrabbers.JuselessDataladCamCANVBM` datagrabber
|
||||
(:gh:`99` by `Leonard Sasse`_)
|
||||
|
||||
- Implement :class:`junifer.configs.juseless.datagrabbers.JuselessDataladIXIVBM` CAT output
|
||||
datagrabber for juseless (:gh:`48` by `Leonard Sasse`_).
|
||||
|
||||
- Upgrade storage interface for storage-like objects (:gh:`84` by `Synchon Mandal`_).
|
||||
|
||||
- Add missing type annotations (:gh:`74` by `Synchon Mandal`_).
|
||||
|
||||
- Add ``junifer wtf`` to report environment details (:gh:`33` by `Synchon Mandal`_).
|
||||
|
||||
- Add ``junifer selftest`` to report environment details (:gh:`9` by `Synchon Mandal`_).
|
||||
|
||||
- Refactor markers ``on`` attribute and ``get_valid_inputs`` to verify that the marker can
|
||||
be computed on the input data types (by `Fede Raimondo`_)
|
||||
|
||||
- Implement :class:`junifer.configs.juseless.datagrabbers.JuselessDataladAOMICID1000VBM`
|
||||
datagrabber for accessing AOMIC ID1000 VBM from juseless (:gh:`57` by `Felix Hoffstaedter`_
|
||||
and `Synchon Mandal`_)
|
||||
|
||||
- Add test for :class:`junifer.datagrabber.DataladHCP1200` datagrabber (:gh:`93` by `Synchon Mandal`_).
|
||||
|
||||
- Change documentation template to furo. Fix references and standardize documentation (:gh:`114` by `Fede Raimondo`_).
|
||||
|
||||
- Add :class:`junifer.preprocess.fMRIPrepConfoundRemover` (:gh:`111` by `Fede Raimondo`_ and `Leonard Sasse`_).
|
||||
|
||||
- Implement :class:`junifer.markers.CrossParcellationFC` marker (:gh:`85` by `Leonard Sasse`_
|
||||
and `Kaustubh R. Patil`_)
|
||||
|
||||
- Add :class:`junifer.configs.juseless.datagrabbers.JuselessUCLA` datagrabber for the UCLA dataset
|
||||
available on juseless (:gh:`118` by `Leonard Sasse`_).
|
||||
|
||||
- Rename "atlas" to "parcellation" (:gh:`116` by `Fede Raimondo`_).
|
||||
|
||||
- Refactor the :class:`junifer.datagrabber.BaseDataGrabber` class to allow for easier subclassing (:gh:`123` by `Fede Raimondo`_).
|
||||
|
||||
- Allow custom aggregation method for :class:`junifer.markers.SphereAggregation` (:gh:`102` by `Synchon Mandal`_).
|
||||
|
||||
- Add support for "masks" (:gh:`79` by `Fede Raimondo`_).
|
||||
|
||||
- Allow :class:`junifer.markers.ParcelAggregation` to apply multiple parcellations at once (:gh:`131` by `Fede Raimondo`_).
|
||||
|
||||
- Introduce a singleton decorator for marker computations (:gh:`151` by `Synchon Mandal`_).
|
||||
|
||||
- Refactor :class:`junifer.pipeline.PipelineStepMixin` to improve its implementation and validation for pipeline steps
|
||||
(:gh:`152` by `Synchon Mandal`_).
|
||||
|
||||
- Implement :class:`junifer.markers.ReHoParcels` and :class:`junifer.markers.ReHoSpheres` markers (:gh:`36` by `Synchon Mandal`_).
|
||||
|
||||
- Implement :class:`junifer.markers.AmplitudeLowFrequencyFluctuationParcels` and
|
||||
:class:`junifer.markers.AmplitudeLowFrequencyFluctuationSpheres` markers (:gh:`35` by `Fede Raimondo`_).
|
||||
|
||||
Bugs
|
||||
~~~~
|
||||
|
||||
- Fix a bug in which a :class:`junifer.datagrabber.PatternDataGrabber` would now work with relative ``datadir`` paths.
|
||||
(:gh:`96` by `Leonard Sasse`_, fixed in :gh:`98` by `Fede Raimondo`_).
|
||||
|
||||
- Fix a bug in which :class:`junifer.datagrabber.DataladAOMICPIOP2` datagrabber did not use user input to
|
||||
constrain elements based on tasks (:gh:`105` by `Leonard Sasse`_)
|
||||
|
||||
- Fix a bug in which a datalad dataset could remove a user-cloned dataset (:gh:`53` by `Fede Raimondo`_)
|
||||
|
||||
- Fix a bug in which CLI command would not work using elements with more than one field (by `Fede Raimondo`_).
|
||||
|
||||
- Fix a bug in which the generated DAG for HTCondor will not work (:gh:`143` by `Fede Raimondo`_).
|
||||
|
||||
API changes
|
||||
~~~~~~~~~~~
|
||||
|
||||
- Change the ``single_output`` default parameter in storage classes from ``False`` to ``True`` (:gh:`134` by `Fede Raimondo`_).
|
||||
|
|
@ -1,106 +0,0 @@
|
|||
.. NOTE: we are now using links to highlight new functions and classes.
|
||||
Please follow the examples below like
|
||||
:func:`julearn.api.run_cross_validation`, so the
|
||||
whats_new page will have a link to the function/class documentation.
|
||||
|
||||
.. NOTE: there are 3 separate sections for changes, based on type:
|
||||
- "Enhancements" for new features
|
||||
- "Bugs" for bug fixes
|
||||
- "API changes" for backward-incompatible changes
|
||||
|
||||
.. NOTE: add the contributors and reference to the github issue/PR at the end
|
||||
Example:
|
||||
- Implemented feature X (:gh:`151` by `Sami Hamdan`_).
|
||||
|
||||
.. _current:
|
||||
|
||||
Current (0.0.2.dev)
|
||||
-------------------
|
||||
|
||||
Enhancements
|
||||
~~~~~~~~~~~~
|
||||
|
||||
- Allow :class:`junifer.testing.datagrabbers.PartlyCloudyTestingDataGrabber` to be accessible
|
||||
via ``import junifer.testing.registry`` (:gh:`160` by `Synchon Mandal`_).
|
||||
|
||||
- Update docstrings and fix typo in log message (:gh:`165` by `Synchon Mandal`_).
|
||||
|
||||
- Add support for ``Power`` coordinates (:gh:`167` by `Synchon Mandal`_).
|
||||
|
||||
- Add support for ``Dosenbach`` coordinates (:gh:`168` by `Synchon Mandal`_).
|
||||
|
||||
- Organize functional connectivity markers in ``junifer.markers.functional_connectivity``
|
||||
(:gh:`107` by `Synchon Mandal`_).
|
||||
|
||||
- Add :class:`junifer.markers.EdgeCentricFCParcels` and :class:`junifer.markers.EdgeCentricFCSpheres`
|
||||
(:gh:`64` by `Leonard Sasse`_).
|
||||
|
||||
- Change HCP datagrabber tests to decrease CI running time (:gh:`155` by `Fede Raimondo`_).
|
||||
|
||||
- Add support for nilearn computed masks (``compute_epi_mask``, ``compute_brain_mask``, ``compute_background_mask``,
|
||||
``fetch_icbm152_brain_gm_mask``) (:gh:`175` by `Fede Raimondo`_).
|
||||
|
||||
- Add fMRIPrep brain masks to the datagrabber patterns for all datagrabbers in the aomic sub-package
|
||||
(:gh:`177` by `Leonard Sasse`_).
|
||||
|
||||
- Add :class:`junifer.markers.TemporalSNRParcels` and :class:`junifer.markers.TemporalSNRSpheres`
|
||||
(:gh:`163` by `Leonard Sasse`_).
|
||||
|
||||
- Add support for HDF5 feature storage via :class:`junifer.storage.HDF5FeatureStorage`
|
||||
(:gh:`147` by `Synchon Mandal`_).
|
||||
|
||||
- Add ``pre_run`` parameter to ``_queue_condor`` (:gh:`188` by `Fede Raimondo`_).
|
||||
|
||||
- Allow for empty spheres in :class:`junifer.external.nilearn.JuniferNiftiSpheresMasker`, that will result in NaNs (:gh:`190` by `Fede Raimondo`_).
|
||||
|
||||
- Expose ``allow_overlap`` parameter in :class:`junifer.markers.SphereAggregation` and related markers (:gh:`190` by `Fede Raimondo`_).
|
||||
|
||||
- Add aggregation function :func:`junifer.stats.count` that returns the number of elements in a given axis. This allows to count the number of voxels per sphere/parcel when used as ``method`` in markers (:gh:`190` by `Fede Raimondo`_).
|
||||
|
||||
- Modify the behaviour of the ``collect`` parameter in HTCondor ``queue`` function to run a collect job even if some of the previous jobs fail. This is useful to collect the results of a pipeline even if some of the jobs fail (:gh:`190` by `Fede Raimondo`_).
|
||||
|
||||
- Allow for empty parcels in :class:`junifer.markers.ParcelAggregation`, that will result in NaNs (:gh:`194` by `Fede Raimondo`_).
|
||||
|
||||
- Improve metadata and data I/O for :class:`junifer.storage.HDF5FeatureStorage` (:gh:`196` by `Synchon Mandal`_).
|
||||
|
||||
- Force datalad to be non-interactive on _queued_ jobs (:gh:`201` by `Fede Raimondo`_).
|
||||
|
||||
- Add more documentation on registering parcellations, coordinates, and masks (:gh:`166` by `Leonard Sasse`_)
|
||||
|
||||
- Expose a :func:`junifer.data.parcellations.merge_parcellations` function to merge a list of parcellations (:gh:`146` by `Leonard Sasse`_).
|
||||
|
||||
- Add copy button to documentation code blocks (:gh:`205` by `Synchon Mandal`_).
|
||||
|
||||
- Add func:`junifer.stats.select` as an aggregation function that allows to select a subset of elements (:gh:`204` by `Fede Raimondo`_).
|
||||
|
||||
- Add ``time_method`` and ``time_method_params`` to :class:`junifer.markers.ParcelAggregation` and :class:`junifer.markers.SphereAggregation`, allowing to apply an aggregation on the time axis after the aggregation on the parcels and spheres respectively (:gh:`204` by `Fede Raimondo`_).
|
||||
|
||||
Bugs
|
||||
~~~~
|
||||
|
||||
- Fix ``junifer run`` to respect preprocess step specified in the pipeline (:gh:`159` by `Synchon Mandal`_).
|
||||
|
||||
- Fix :class:`junifer.markers.AmplitudeLowFrequencyFluctuationParcels`, :class:`junifer.markers.AmplitudeLowFrequencyFluctuationSpheres`
|
||||
:class:`junifer.markers.ReHoSpheres` and :class:`junifer.markers.ReHoParcels` pass the ``extra_input`` parameter (:gh:`187` by `Fede Raimondo`_).
|
||||
|
||||
- Fix several markers that did not properly handle the ``extra_input`` parameter (:gh:`189` by `Fede Raimondo`_).
|
||||
|
||||
- Fix an issue with datalad cache and locks in which the user-specific configuration might create a conflict in high throughput systems (:gh:`192` by `Fede Raimondo`_).
|
||||
|
||||
- Fix a bug in which :func:`junifer.stats.count` will not be correctly applied across an axis (:gh:`195` by `Fede Raimondo`_).
|
||||
|
||||
- Fix an issue with datalad cache and locks in which the overriden settings in Junifer were not propagated to subprocesses, resulting in using the default settings (:gh:`199` by `Fede Raimondo`_).
|
||||
|
||||
- Fix a bug in which :class:`junifer.markers.ParcelAggregation` could yield duplicated column names if two or more parcels were used and label names were not unique (:gh:`194` by `Fede Raimondo`_).
|
||||
|
||||
- Fix a bug in which :func:`junifer.data.masks.get_mask` fails for FunctionalConnectivityBase class, because of missing extra_input parameter (:gh:`200` by `Leonard Sasse`_)
|
||||
|
||||
API changes
|
||||
~~~~~~~~~~~
|
||||
|
||||
- Add ``confounds_format`` parameter to :class:`junifer.datagrabber.PatternDataGrabber` constructor for
|
||||
improved handling of confounds specified via ``BOLD_confounds`` data type (:gh:`158` by `Synchon Mandal`_).
|
||||
|
||||
- Rename ``store_table()`` to ``store_vector()`` for storage-like objects and adapt marker-like objects to
|
||||
use ``"vector"`` in place of ``"table"`` for storage. Also, improve the logic of storing vectors
|
||||
(:gh:`181` by `Synchon Mandal`_).
|
||||
1
docs/changes/newsfragments/.gitignore
vendored
Normal file
1
docs/changes/newsfragments/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
!.gitignore
|
||||
1
docs/changes/newsfragments/107.enh
Normal file
1
docs/changes/newsfragments/107.enh
Normal file
|
|
@ -0,0 +1 @@
|
|||
Organize functional connectivity markers in ``junifer.markers.functional_connectivity`` by `Synchon Mandal`_
|
||||
1
docs/changes/newsfragments/146.feature
Normal file
1
docs/changes/newsfragments/146.feature
Normal file
|
|
@ -0,0 +1 @@
|
|||
Expose a :func:`junifer.data.parcellations.merge_parcellations` function to merge a list of parcellations by `Leonard Sasse`_
|
||||
1
docs/changes/newsfragments/147.feature
Normal file
1
docs/changes/newsfragments/147.feature
Normal file
|
|
@ -0,0 +1 @@
|
|||
Add support for HDF5 feature storage via :class:`junifer.storage.HDF5FeatureStorage` by `Synchon Mandal`_
|
||||
1
docs/changes/newsfragments/155.enh
Normal file
1
docs/changes/newsfragments/155.enh
Normal file
|
|
@ -0,0 +1 @@
|
|||
Change HCP datagrabber tests to decrease CI running time by `Fede Raimondo`_
|
||||
1
docs/changes/newsfragments/158.change
Normal file
1
docs/changes/newsfragments/158.change
Normal file
|
|
@ -0,0 +1 @@
|
|||
Add ``confounds_format`` parameter to :class:`junifer.datagrabber.PatternDataGrabber` constructor for improved handling of confounds specified via ``BOLD_confounds`` data type by `Synchon Mandal`_
|
||||
1
docs/changes/newsfragments/159.bugfix
Normal file
1
docs/changes/newsfragments/159.bugfix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Fix ``junifer run`` to respect preprocess step specified in the pipeline by `Synchon Mandal`_
|
||||
1
docs/changes/newsfragments/160.enh
Normal file
1
docs/changes/newsfragments/160.enh
Normal file
|
|
@ -0,0 +1 @@
|
|||
Allow :class:`junifer.testing.datagrabbers.PartlyCloudyTestingDataGrabber` to be accessible via ``import junifer.testing.registry`` by `Synchon Mandal`_
|
||||
1
docs/changes/newsfragments/163.feature
Normal file
1
docs/changes/newsfragments/163.feature
Normal file
|
|
@ -0,0 +1 @@
|
|||
Add :class:`junifer.markers.TemporalSNRParcels` and :class:`junifer.markers.TemporalSNRSpheres` by `Leonard Sasse`_
|
||||
1
docs/changes/newsfragments/165.enh
Normal file
1
docs/changes/newsfragments/165.enh
Normal file
|
|
@ -0,0 +1 @@
|
|||
Update docstrings and fix typo in log message by `Synchon Mandal`_
|
||||
1
docs/changes/newsfragments/166.doc
Normal file
1
docs/changes/newsfragments/166.doc
Normal file
|
|
@ -0,0 +1 @@
|
|||
Add more documentation on registering parcellations, coordinates, and masks by `Leonard Sasse`_
|
||||
1
docs/changes/newsfragments/167.feature
Normal file
1
docs/changes/newsfragments/167.feature
Normal file
|
|
@ -0,0 +1 @@
|
|||
Add support for ``Power`` coordinates by `Synchon Mandal`_
|
||||
1
docs/changes/newsfragments/168.feature
Normal file
1
docs/changes/newsfragments/168.feature
Normal file
|
|
@ -0,0 +1 @@
|
|||
Add support for ``Dosenbach`` coordinates by `Synchon Mandal`_
|
||||
1
docs/changes/newsfragments/175.feature
Normal file
1
docs/changes/newsfragments/175.feature
Normal file
|
|
@ -0,0 +1 @@
|
|||
Add support for nilearn computed masks (``compute_epi_mask``, ``compute_brain_mask``, ``compute_background_mask``, ``fetch_icbm152_brain_gm_mask``) by `Fede Raimondo`_
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue