# A warning in Python

**URL:** <https://discourse.slicer.org/t/a-warning-in-python/19752>\
**Category:** Support\
**Created:** [September 20, 2021, 12:02am UTC](https://discourse.slicer.org/t/a-warning-in-python/19752 "2021-09-20T00:02:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![4DUS](https://avatars.discourse-cdn.com/v4/letter/4/e47c2d/32.png) [@4DUS](https://discourse.slicer.org/u/4DUS)\
**Post date:** [September 20, 2021, 12:02am UTC](https://discourse.slicer.org/t/a-warning-in-python/19752/1 "2021-09-20T00:02:16Z")

</div>

Hi,

While opening a \*.3dus files in a 3D Slicer, I receive the following warning in the Python Interactor tab:

\AppData\Local\NA-MIC\Slicer 4.11.20210226\lib\Python\Lib\site-packages\numpy\ctypeslib.py:521: RuntimeWarning: A builtin ctypes object gave a PEP3118 format string that does not match its itemsize, so a best-guess will be made of the data type. Newer versions of python may behave correctly.  
return array(obj, copy=False)

The displayed images include a number of black pixels located at different regions of the images.  
Can you please explain how can it be fixed?

---

<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:** [October 17, 2021, 11:52pm UTC](https://discourse.slicer.org/t/a-warning-in-python/19752/2 "2021-10-17T23:52:03Z")

</div>

How did you acquire the \*. 3dus file? What ultrasound system and transducer was used?

---

<div class="post-metadata">

**Author:** ![4DUS](https://avatars.discourse-cdn.com/v4/letter/4/e47c2d/32.png) [@4DUS](https://discourse.slicer.org/u/4DUS)\
**Post date:** [October 24, 2021, 11:59am UTC](https://discourse.slicer.org/t/a-warning-in-python/19752/3 "2021-10-24T11:59:29Z")

</div>

Hello Andras,

Thank you for your response.

The \*.3dus file was acquired as a DICOM and its extension was changed to the \*.3dus.  
The system in use was Vivid S70N and the transducer was a NuVera 4D intracardiac catheter.  
A similar acquisition with E95 system hasn’t resulted in an error.
