# Two nodes created using loadSeriesByUID for MR Image Storage SOPClass

**URL:** <https://discourse.slicer.org/t/two-nodes-created-using-loadseriesbyuid-for-mr-image-storage-sopclass/21905>\
**Category:** Development\
**Created:** [February 11, 2022, 2:31am UTC](https://discourse.slicer.org/t/two-nodes-created-using-loadseriesbyuid-for-mr-image-storage-sopclass/21905 "2022-02-11T02:31:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CJohnson](https://avatars.discourse-cdn.com/v4/letter/c/3be4f8/32.png) [@CJohnson](https://discourse.slicer.org/u/CJohnson)\
**Post date:** [February 11, 2022, 2:31am UTC](https://discourse.slicer.org/t/two-nodes-created-using-loadseriesbyuid-for-mr-image-storage-sopclass/21905/1 "2022-02-11T02:31:53Z")

</div>

Operating system: Windows 10  
Slicer version: 4.11.20210226  
Expected behavior: One MRMLScalarVolumeNode should be created  
Actual behavior: Two MRMLScalarVolumeNode (s) are created, one has only one slice with the time series tools activated and the other is a standard scrollable volume. This was not an issue when I was using Slicer’s version 4.11.20200930.

My script uses the DICOMUtils function loadSeriesByUID to load image volumes. The dicom tag for my test image has a SOPClassUID of ‘1.2.840.10008.5.1.4.1.1.4’ but there are no triggerTime dicom tags.

I can see that because of the SOP Class, both the DICOMImageSequencePlugin and the DICOMScalarVolumePlugin are enabled as possible plugins to use for image loading. The problem is that the confidence assigned to these loadable plugins is not addressed in the loadSeriesByUID function - so both plugins execute their load function.

Can the loadSeriesByUID function be changed to look at the confidences or should I modify how I load images in my script?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [February 11, 2022, 5:33am UTC](https://discourse.slicer.org/t/two-nodes-created-using-loadseriesbyuid-for-mr-image-storage-sopclass/21905/2 "2022-02-11T05:33:33Z")

</div>

As far as I remember, this problem has been already fixed. Please check if you can reproduce the problem in the latest Slicer Preview Release.

---

<div class="post-metadata">

**Author:** ![CJohnson](https://avatars.discourse-cdn.com/v4/letter/c/3be4f8/32.png) [@CJohnson](https://discourse.slicer.org/u/CJohnson)\
**Post date:** [February 13, 2022, 1:04am UTC](https://discourse.slicer.org/t/two-nodes-created-using-loadseriesbyuid-for-mr-image-storage-sopclass/21905/3 "2022-02-13T01:04:18Z")

</div>

Thank you - Everything works in the Slicer Preview Release.
