From d7e257667b1658f87626014f32cfba47488d11c9 Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Fri, 23 Aug 2024 09:39:43 -0400 Subject: [PATCH] Allow gifs. --- nireports/assembler/reportlet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nireports/assembler/reportlet.py b/nireports/assembler/reportlet.py index b14acc7f..ec31bb82 100644 --- a/nireports/assembler/reportlet.py +++ b/nireports/assembler/reportlet.py @@ -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)