diff --git a/src/aind_qc_portal/panel/media.py b/src/aind_qc_portal/panel/media.py index c6573d4..22ae2c3 100644 --- a/src/aind_qc_portal/panel/media.py +++ b/src/aind_qc_portal/panel/media.py @@ -225,7 +225,10 @@ def _parse_type(reference, data): ) elif "rrd" in reference: # files should be in the format name_vX.Y.Z.rrd - full_version = reference.split("_v")[1].split(".rrd")[0] + if "_v" in reference: + full_version = reference.split("_v")[1].split(".rrd")[0] + else: + full_version = "0.19.1" src = f"https://app.rerun.io/version/{full_version}/index.html?url={data}" iframe_html = f'' return pn.pane.HTML(