From d5a2448e7929e12b7ebb9430fcfdc949d06ba3c1 Mon Sep 17 00:00:00 2001 From: Jan Kotanski Date: Tue, 22 Oct 2024 08:19:23 +0200 Subject: [PATCH] fix typo --- nxstools/nxsfileinfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nxstools/nxsfileinfo.py b/nxstools/nxsfileinfo.py index 1d065554..29047ab6 100644 --- a/nxstools/nxsfileinfo.py +++ b/nxstools/nxsfileinfo.py @@ -897,7 +897,7 @@ def update_pid(self, metadata, filename=None, puuid=False, pfname=False, if genuid: spid = spid[:-1] if len(spid) == 2: - metadata["datasetName"] = spid[1] + metadata["datasetName"] = spid[1] elif len(spid) > 1: try: int(spid[-1])