Skip to content

Commit

Permalink
Merge pull request #128 from tsalo/add-gifs
Browse files Browse the repository at this point in the history
Allow GIFs in reports
  • Loading branch information
effigies authored Oct 4, 2024
2 parents dc54385 + d7e2576 commit 13d2d0f
Showing 1 changed file with 1 addition and 1 deletion.
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 13d2d0f

Please sign in to comment.