14. What’s new#
14.1. Junifer 0.0.4 (2024-04-05)#
14.1.1. Bugfixes#
Make copying of assets in
withblock of YAML, relative to YAML and not to current working directory by Fede Raimondo and Synchon Mandal (#224)Adapt
junifer queueto properly use HTCondor >=10.4.0condor_submit_dagby Fede Raimondo and Synchon Mandal (#233)Use 1 instead of 0 for successful FSL commands in
_check_fsl()by Synchon Mandal (#272)Store native warped parcellations, coordinates and masks in element-scoped tempdirs for the pipeline to work by Synchon Mandal (#274)
Change interpolation scheme for parcel and mask native space transformation to nearest neighbour by Synchon Mandal (#276)
Bypass FSL
std2imgcoordstdin bug and use recommended piped input for coordinates transformation by Synchon Mandal (#278)Add
-stdto FSLstd2imgcoordfor coordinates transformation by Synchon Mandal (#280)Replace FSL
std2imgcoordwithimg2imgcoordas the former is incorrect for coordinates transformation to other template spaces. (#281)Propagate ReHo and fALFF maps, for aggregation to convert to other template spaces when required by Synchon Mandal (#282)
Allow
junifer.pipeline.WorkDirManagerto accept str via theworkdirparameter by Synchon Mandal (#283)Avoid warping mask preprocessed with
fMRIPrepConfoundRemoverand used by markers withmask="inherit"in subject-native template space by Fede Raimondo and Synchon Mandal (#284)Pass down input path if input space is “native” for
ReHoEstimatorandALFFEstimator, else use respective compute maps by Fede Raimondo and Synchon Mandal (#286)Fix
HTCondorAdapter’s script generation to use double quotes instead of single quotes for HTCondor’sVARSby Synchon Mandal (#312)Fix element access for
DMCC13BenchmarkDataGrabber by Synchon Mandal (#314)Force
strdtype when parsing elements from file by Synchon Mandal (#322)
14.1.2. API Changes#
Rename
Powercoordinates toPower2011by Synchon Mandal (#245)Add
feature_md5argument toread_transform()by Synchon Mandal (#248)Add
native_t1wparameter toDataladAOMICID1000,DataladAOMICPIOP1,DataladAOMICPIOP2, enabling fetching of T1w data in subject-native space by Synchon Mandal (#252)Modify
preprocessortopreprocessorsinrun()andpreprocessingtopreprocessorsinMarkerCollectionto accept multiple preprocessors by Synchon Mandal (#263)Add
spaceparameter toregister_coordinates(),register_parcellation()andregister_mask()and return space fromload_coordinates(),load_parcellation()andload_mask()by Synchon Mandal and Fede Raimondo (#268)Add
template_typeparameter toget_template()by Synchon Mandal (#299)Change
BasePreprocessor.preprocess()return values to preprocessed target data and “helper” data types as a dictionary by Synchon Mandal (#310)Add a positional argument
usingfor Markers and Preprocessors having implementation-based variations, in particularReHoParcels,ReHoSpheres,ALFFParcels,ALFFSpheresandBOLDWarperby Synchon Mandal (#311)Change all
probseg_types toVBM_types by Fede Raimondo (#320)Change the subject and session patterns for
DataladAOMICID1000,DataladAOMICPIOP1,DataladAOMICPIOP2andDMCC13Benchmarkso that they are consistent with their own"participants.tsv"file by Fede Raimondo (#325)
14.1.3. Improved Documentation#
Add Zenodo badge in
READMEand improve general documentation by Synchon Mandal (#247)Rename
extMDNtoextDMN(extended default mode network) and fix listing foreMDN(extended multiple-demand network) by Synchon Mandal (#251)Fixed typo in code example for adding masks from “register_custom_mask” to “register_mask” by Tobias Muganga (#291)
Rename
Miscsection toMiscellaneousindocs/whats_new.rstby Synchon Mandal (#300)Improve documentation by adding information about space transformation and writing custom Preprocessors by Synchon Mandal (#317)
14.1.4. Enhancements#
Support element(s) to be specified via text file for
--elementoption ofjunifer runby Synchon Mandal (#182)Support element-scoped directory and temporary directories for
junifer.pipeline.WorkDirManagerby Synchon Mandal (#258)Improve element directory cleanup via
junifer.pipeline.WorkDirManager.cleanup_elementdirmethod by Synchon Mandal (#259)Improve
BasePreprocessorfor easy subclassing and adaptfMRIPrepConfoundRemoverto it by Synchon Mandal (#260)Add
spaceinformation to existing datagrabbers, masks, parcellations and coordinates by Synchon Mandal and Fede Raimondo (#268)Add
modeas an aggregation function option inget_aggfunc_by_name()by Synchon Mandal (#287)Adapt
BOLDWarperto use FSL or ANTs depending on warp file extension by Synchon Mandal (#293)Rewrite
compute_brain_mask()to allow variable template fetching via templateflow, according to target data by Synchon Mandal (#299)Replace
requestswithhttpxfor fetching parcellations by Synchon Mandal (#300)Allow
BOLDWarperto warp BOLD data to other MNI spaces by Synchon Mandal (#302)Add support for local
junifer queuevia GNU Parallel by Synchon Mandal (#306)Improve
PatternDataGrabberandPatternDataladDataGrabber’spatternsto enablespace,format,mask_itemand other metadata description handling via YAML by Synchon Mandal (#308)Improve
BasePreprocessorby revampingBasePreprocessor.preprocess()andBasePreprocessor._fit_transformto handle “helper” data types better and make the pipeline explicit where data is being altered by Synchon Mandal (#310)Improve external dependency handling for
PipelineStepMixin-derived objects having implementation-based variations by Synchon Mandal (#311)
14.1.5. Features#
Introduce complexity markers:
HurstExponent,MultiscaleEntropyAUC,PermEntropy,RangeEntropy,RangeEntropyAUCandSampleEntropyby Amir Omidvarnia (#145)Add
junifer resetto reset storage and jobs directory by Synchon Mandal (#240)Add support for
Power2013coordinates by Synchon Mandal (#245)Support
venvas environment kind for queueing jobs by Synchon Mandal (#249)Add support for
AutobiographicalMemorycoordinates by Synchon Mandal (#250)Add support for subject-native space by Synchon Mandal and Fede Raimondo (#252)
Introduce
junifer.pipeline.WorkDirManagersingleton class to manage working and temporary directories across pipeline by Synchon Mandal (#254)Introduce
get_parcellation()to fetch parcellation tailored for the data by Synchon Mandal (#264)Introduce
get_coordinates()to fetch coordinates tailored for the data by Synchon Mandal (#265)Introduce
junifer.preprocess.fsl.apply_warper._ApplyWarperto wrap FSL’sapplywarpby Synchon Mandal (#266)Introduce
BOLDWarperfor warping BOLD data via FSL’sapplywarpby Synchon Mandal (#267)Introduce
DMCC13Benchmarkto access DMCC13benchmark dataset by Synchon Mandal (#271)Add
Brainnetome 246parcellation tojunifer.databy Synchon Mandal (#275)Introduce
junifer.preprocess.ants.ants_apply_transforms_warper._AntsApplyTransformsWarperto wrap ANTs’antsApplyTransformsby Synchon Mandal (#293)Introduce
run_ext_cmd()to take care of the boilerplate code for running external commands from FSL, ANTs and others by Synchon Mandal (#295)Introduce
get_xfm()to fetch transformation files for moving between template spaces by Synchon Mandal (#297)Introduce
get_template()to fetch template space image tailored to a target data by Synchon Mandal (#298)Add support for on-the-fly template space transformation in
get_parcellation()andget_mask()to allow parcellation and mask in different template spaces to work with aDataGrabber’s data in a specified template space. (#299)Introduce
SpaceWarperfor warpingT1w,BOLD,VBM_GM,VBM_WM,fALFF,GCORandLCORdata to other spaces by Synchon Mandal (#301)Introduce
QueueContextAdapteras an abstract base class for job queueing andHTCondorAdapteras its implementation for HTCondor by Synchon Mandal (#309)
14.1.6. Miscellaneous#
Update dependencies requirements by Fede Raimondo (#253)
Pin
ruffto0.1.0as the lowest version and updatepre-commitconfig by Synchon Mandal (#261)Add support for accessing FSL via Docker wrapper along with
flirt,applywarpandstd2imgcoordcommands by Synchon Mandal (#262)Improve documentation, packaging and code style by Synchon Mandal (#269)
Add support for Python 3.12 and make Python 3.11 the base for code coverage and CI checks by Synchon Mandal (#270)
Add support for accessing ANTs via Docker wrapper along with
antsApplyTransformsandantsApplyTransformsToPointsby Synchon Mandal (#277)Make the external tool wrappers output to stderr instead of stdout by Synchon Mandal (#279)
Add support for accessing FSL
img2imgcoordvia Docker wrapper command by Synchon Mandal (#281)Make
BOLDWarpertool-agnostic by moving it fromjunifer.preprocess.fsltojunifer.preprocessby Synchon Mandal (#288)Add support for accessing ANTs’
ResampleImagevia Docker wrapper by Synchon Mandal (#293)Update
pyproject.tomland add FAIR shield inREADME.mdby Synchon Mandal (#294)Update dependency listing in
pyproject.toml, add.github/dependabot.ymlto auto-update GitHub Actions, addANTsandFSLinstallation in CI and improve general code style by Synchon Mandal (#300)
14.1.7. Deprecations and Removals#
Deprecate
BOLDWarperand mark for removal in v0.0.4 by Synchon Mandal (#301)
14.2. Junifer 0.0.3 (2023-07-21)#
14.2.1. Bugfixes#
Enable YAML 1.2 support and allow multiline strings in YAML which would not work earlier by Synchon Mandal (#223)
Handle
datalad.IncompleteResultsErrorexception for partial clone inDataladDataGrabberby Synchon Mandal (#235)
14.2.2. API Changes#
Expose
typesparameter forDataladAOMICID1000,DataladAOMICPIOP1,DataladAOMICPIOP2andJuselessUCLAby Synchon Mandal (#132)Rename
junifer.testing.datagrabbers.SPMAuditoryTestingDatagrabbertoSPMAuditoryTestingDataGrabberandjunifer.testing.datagrabbers.OasisVBMTestingDatagrabbertoOasisVBMTestingDataGrabberby Synchon Mandal (#222)Add
BaseFeatureStorage.read()method for storage-like objects by Synchon Mandal (#236)
14.2.3. Improved Documentation#
Improve general prose, formatting and code blocks in docs and set line length for
.rstfiles to 80 by Synchon Mandal (#220)Update
julearnexample underexamplesby Synchon Mandal (#242)
14.2.4. Enhancements#
Change validation of
typesagainstpatternsto allow a subset ofpatterns’s types to be used forDataGrabberdata fetch by Synchon Mandal (#132)Rename instances of “Datagrabber” to “DataGrabber” especially in
junifer.testingto be consistent by Synchon Mandal (#222)Use
ruamel.yamlinstead ofpyyamlas YAML I/O library by Synchon Mandal (#223)Adopt
DataGrabberconsistently throughout codebase to match with the documentation by Synchon Mandal (#226)Adopt
DataReaderconsistently throughout codebase to match with the documentation by Synchon Mandal (#227)Enable
stdoutandstderrcapture for AFNI commands by Synchon Mandal (#234)Adapt
HDF5FeatureStorage.read_df()due to addition ofHDF5FeatureStorage.read()by Synchon Mandal (#236)
14.2.5. Features#
Add
AICHA v1andAICHA v2parcellations tojunifer.databy Synchon Mandal (#173)Add
Shen 2013,Shen 2015andShen 2019parcellations tojunifer.databy Synchon Mandal (#184)Add
Yan 2023parcellation tojunifer.databy Synchon Mandal (#225)Introduce
ontheflysub-module andread_transform()for quick transform operations on stored data by Synchon Mandal (#237)
14.2.6. Miscellaneous#
Consistent docstrings for pytest fixtures used in the test suite by Synchon Mandal (#228)
Adopt
ruffas the only linter for the codebase by Synchon Mandal (#229)Improve
codespellsupport by fixing typos in documentation by Synchon Mandal (#230)Adopt
pre-commitfor adding and managing git pre-commit hooks by Synchon Mandal (#232)Improve docstrings and code style and parametrize remaining tests for
junifer.data.parcellationsby Synchon Mandal (#238)Bump
numpyversion constraint to>=1.24,<1.26by Synchon Mandal (#241)
14.3. Junifer 0.0.2 (2023-03-31)#
14.3.1. Bugfixes#
Fix a bug in which relative storage URIs will be computed relative to the CWD and not to the location of the YAML file by Fede Raimondo. (#127)
Fix
junifer runto respect preprocess step specified in the pipeline by Synchon Mandal (#159)Fix a bug in which only
REST1andREST2tasks could be accessed inDataladHCP1200andHCP1200datagrabbers by Fede Raimondo (#183)Fix a bug in which fitting a marker (e.g.
SphereAggregation) on a specific type (e.g.:BOLD) will fail if another non-supported type (e.g.:BOLD_confounds) is present in the data object by Fede Raimondo (#185)Fix
ALFFParcels,ALFFSpheres,ReHoSpheresandReHoParcelspass theextra_inputparameter by Fede Raimondo (#187)Fix several markers that did not properly handle the
extra_inputparameter by Fede Raimondo (#189)Fix a bug in which relative paths in the YAML
withdirective would be computed relative to the current working directory of the process instead of the location of the YAML file by Fede Raimondo. (#191)Fix an issue with datalad cache and locks in which the user-specific configuration might create a conflict in high throughput systems by Fede Raimondo (#192)
Fix a bug in which
ParcelAggregationcould yield duplicated column names if two or more parcels were used and label names were not unique by Fede Raimondo (#194)Fix a bug in which
count()will not be correctly applied across an axis by Fede Raimondo (#195)Fix an issue with datalad cache and locks in which the overridden settings in Junifer were not propagated to subprocesses, resulting in using the default settings by Fede Raimondo (#199)
Fix a bug in which
get_mask()fails for FunctionalConnectivityBase class, because of missing extra_input parameter by Leonard Sasse (#200)Fix the output of
RSSETSMarkerto be 2D by Synchon Mandal (#215)
14.3.2. API Changes#
Add
confounds_formatparameter toPatternDataGrabberconstructor for improved handling of confounds specified viaBOLD_confoundsdata type by Synchon Mandal (#158)Rename
store_table()tostore_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 by Synchon Mandal (#181)Add
ica_fixparameter toDataladHCP1200andHCP1200datagrabbers to allow for selecting data processed with ICA+FIX. Default value isFalsewhich changes behaviour since 0.0.1 release. By Fede Raimondo (#183)Add
pre_runparameter to_queue_condorby Fede Raimondo (#188)Expose
allow_overlapparameter inSphereAggregationand related markers by Fede Raimondo (#190)Rename
AmplitudeLowFrequencyFluctuationParcelsandAmplitudeLowFrequencyFluctuationSpherestoALFFParcelsandALFFSpheresby Synchon Mandal (#216)
14.3.3. Improved Documentation#
Add more documentation on registering parcellations, coordinates, and masks by Leonard Sasse (#166)
Migrate and document changelog creation and maintenance via
towncrierby Synchon Mandal (#203)Add copy button to documentation code blocks by Synchon Mandal (#205)
Add sections starting and help in the documentation by Fede Raimondo (#210)
Shorten Sphinx references across code and docs, and add
blackshield in README by Synchon Mandal (#218)
14.3.4. Enhancements#
Organize functional connectivity markers in
junifer.markers.functional_connectivityby Synchon Mandal (#107)Change HCP datagrabber tests to decrease CI running time by Fede Raimondo (#155)
Allow
PartlyCloudyTestingDataGrabberto be accessible viaimport junifer.testing.registryby Synchon Mandal (#160)Update docstrings and fix typo in log message by Synchon Mandal (#165)
Add fMRIPrep brain masks to the datagrabber patterns for all datagrabbers in the aomic sub-package by Leonard Sasse (#177)
Improved logging output for preprocessing, collecting and pipeline building from YAML by Fede Raimondo (#185)
Allow for empty spheres in
JuniferNiftiSpheresMasker, that will result in NaNs. Also, modify the behaviour of thecollectparameter in HTCondorqueuefunction 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 by Fede Raimondo (#190)Allow for empty parcels in
ParcelAggregation, that will result in NaNs by Fede Raimondo (#194)Improve metadata and data I/O for
HDF5FeatureStorageby Synchon Mandal (#196)Force datalad to be non-interactive on queued jobs by Fede Raimondo (#201)
Add missing
abstractmethoddecorators forget_valid_inputsmethods ofBaseMarkerandBasePreprocessorby Synchon Mandal (#214)
14.3.5. Features#
Add
EdgeCentricFCParcelsandEdgeCentricFCSpheresby Leonard Sasse (#64)Expose a
merge_parcellations()function to merge a list of parcellations by Leonard Sasse (#146)Add support for HDF5 feature storage via
HDF5FeatureStorageby Synchon Mandal (#147)Add
TemporalSNRParcelsandTemporalSNRSpheresby Leonard Sasse (#163)Add support for
Powercoordinates by Synchon Mandal (#167)Add support for
Dosenbachcoordinates by Synchon Mandal (#168)Add support for nilearn computed masks (
compute_epi_mask,compute_brain_mask,compute_background_mask,fetch_icbm152_brain_gm_mask) by Fede Raimondo (#175)Add aggregation function
count()that returns the number of elements in a given axis. This allows to count the number of voxels per sphere/parcel when used asmethodin markers by Fede Raimondo (#190)
14.4. Junifer 0.0.1 (2022-12-20)#
14.4.1. Bugfixes#
Fix a bug in which a
PatternDataGrabberwould now work with relativedatadirpaths (reported by Leonard Sasse, fixed by Fede Raimondo) (#96, #98)Fix a bug in which
DataladAOMICPIOP2datagrabber did not use user input to constrain elements based on tasks by Leonard Sasse (#105)Fix a bug in which a datalad dataset could remove a user-cloned dataset by Fede Raimondo (#53)
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 by Fede Raimondo (#143)
14.4.2. API Changes#
Change the
single_outputdefault parameter in storage classes fromFalsetoTrueby Fede Raimondo (#134)
14.4.3. Improved Documentation#
Add an example how to use
juniferandjulearnin one pipeline to extract features and do machine learning by Leonard Sasse, Nicolas Nieto, and Sami Hamdan (#40)Add documentation for the datagrabbers by Leonard Sasse, Nicolas Nieto, and Sami Hamdan
Change documentation template to furo. Fix references and standardize documentation by Fede Raimondo (#114)
14.4.4. Enhancements#
Add comments to
DataladDataGrabberdatagrabber and change to usedatalad-cloneinstead ofdatalad-installby Benjamin Poldrack (#55)Upgrade storage interface for storage-like objects by Synchon Mandal (#84)
Add missing type annotations by Synchon Mandal (#74)
Refactor markers
onattribute andget_valid_inputsto verify that the marker can be computed on the input data types by Fede RaimondoAdd test for
DataladHCP1200datagrabber by Synchon Mandal (#93)Refactor
DataladAOMICID1000slightly by Leonard Sasse (#94)Rename “atlas” to “parcellation” by Fede Raimondo (#116)
Refactor the
BaseDataGrabberclass to allow for easier subclassing by Fede Raimondo (#123)Allow custom aggregation method for
SphereAggregationby Synchon Mandal (#102)Add support for “masks” by Fede Raimondo (#79)
Allow
ParcelAggregationto apply multiple parcellations at once by Fede Raimondo (#131)Refactor
PipelineStepMixinto improve its implementation and validation for pipeline steps by Synchon Mandal (#152)
14.4.5. Features#
Implement
SPMAuditoryTestingDataGrabberdatagrabber by Fede Raimondo (#52)Implement matrix storage in SQliteFeatureStorage by Fede Raimondo (#42)
Implement
FunctionalConnectivityParcelsmarker for functional connectivity using a parcellation by Amir Omidvarnia and Kaustubh R. Patil (#41)Implement
register_coordinates(),list_coordinates()andload_coordinates()by Fede Raimondo (#11)Add
DataladAOMICID1000datagrabber for AOMIC ID1000 dataset including tests and creation of mock dataset for testing by Vera Komeyer and Xuan Li (#60)Add support to access other input in the data object in the
computemethod by Fede RaimondoImplement
RSSETSMarkermarker by Leonard Sasse, Nicolas Nieto and Sami Hamdan (#51)Implement
SphereAggregationmarker by Fede Raimondo (#83)Implement
DataladAOMICPIOP1andDataladAOMICPIOP2datagrabbers for AOMIC PIOP1 and PIOP2 datasets respectively by Leonard Sasse (#94)Implement
JuselessDataladCamCANVBMdatagrabber by Leonard Sasse (#99)Implement
JuselessDataladIXIVBMCAT output datagrabber for juseless by Leonard Sasse (#48)Add
junifer wtfto report environment details by Synchon Mandal (#33)Add
junifer selftestto report environment details by Synchon Mandal (#9)Implement
JuselessDataladAOMICID1000VBMdatagrabber for accessing AOMIC ID1000 VBM from juseless by Felix Hoffstaedter and Synchon Mandal (#57)Add
fMRIPrepConfoundRemoverby Fede Raimondo and Leonard Sasse (#111)Implement
CrossParcellationFCmarker by Leonard Sasse and Kaustubh R. Patil (#85)Add
JuselessUCLAdatagrabber for the UCLA dataset available on juseless by Leonard Sasse (#118)Introduce a singleton decorator for marker computations by Synchon Mandal (#151)
Implement
ReHoParcelsandReHoSpheresmarkers by Synchon Mandal (#36)Implement
ALFFParcelsandALFFSpheresmarkers by Fede Raimondo (#35)
14.4.6. Miscellaneous#
Create the repository based on the mockup by Fede Raimondo