Skip to content

Commit

Permalink
Merge tag '24.0.3'
Browse files Browse the repository at this point in the history
24.0.3 (November 18, 2024)

Bug-fix release in the 24.0.x series.

Loosens constraints on report generation to permit GIFs.
Technically a feature, but the impact on existing code is null.

CHANGES
-------

* ENH: Allow GIFs in reports by @tsalo in #128
  • Loading branch information
effigies committed Nov 22, 2024
2 parents 9c99d5f + f7cd1b7 commit 1e6464d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
24.0.3 (November 18, 2024)
==========================
Bug-fix release in the 24.0.x series.

Loosens constraints on report generation to permit GIFs.
Technically a feature, but the impact on existing code is null.

CHANGES
-------

* ENH: Allow GIFs in reports by @tsalo in https://github.com/nipreps/nireports/pull/128


24.0.2 (August 26, 2024)
========================
Hotfix release with one bugfix.
Expand Down
2 changes: 1 addition & 1 deletion nireports/assembler/reportlet.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def __init__(self, layout, config=None, out_dir=None, bids_filters=None, metadat
name=html_anchor,
style="; ".join(f"{k}: {v}" for k, v in style.items()),
)
elif ext in (".png", ".jpg", ".jpeg"):
elif ext in (".png", ".jpg", ".jpeg", ".gif"):
entities = dict(bidsfile.entities)
if desc_text:
desc_text = desc_text.format(**entities)
Expand Down

0 comments on commit 1e6464d

Please sign in to comment.