# We aren't getting the filtering options to display while using parenchyma analysis package on a few chest CTs.

**URL:** <https://discourse.slicer.org/t/we-arent-getting-the-filtering-options-to-display-while-using-parenchyma-analysis-package-on-a-few-chest-cts/33098>\
**Category:** Support\
**Tags:** cip, lung\
**Created:** [November 28, 2023, 8:48pm UTC](https://discourse.slicer.org/t/we-arent-getting-the-filtering-options-to-display-while-using-parenchyma-analysis-package-on-a-few-chest-cts/33098 "2023-11-28T20:48:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![punyasharoul](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/punyasharoul/32/68496_2.png) [@punyasharoul](https://discourse.slicer.org/u/punyasharoul)\
**Post date:** [November 28, 2023, 8:48pm UTC](https://discourse.slicer.org/t/we-arent-getting-the-filtering-options-to-display-while-using-parenchyma-analysis-package-on-a-few-chest-cts/33098/1 "2023-11-28T20:48:04Z")

</div>

Operating system: Windows & MAC  
Slicer version: 4-10-2  
Expected behavior:

1. Filtering on and off should display options.

2. output for attenuation areas should be generated as numbers  
Actual behavior:  
We are facing below 2 key issues below and hope we can connect again to troubleshoot.

3. We aren’t getting the filtering options to display. There is an error message that pops up that makes us think there might be an issue with the code for displaying these. Here is the error message:

```auto
Traceback (most recent call last):
File "C:\Users\bryant.england\OneDrive - University of Nebraska Medical Center\Documents\SlicerCIP4-10-2\SlicerCIP4-10-2-Extensions\Chest_Imaging_Platform\lib\Slicer-4.10\qt-scripted-modules\CIP\ui\PreProcessingWidget.py", line 198, in hideFilterParams
self.showFilterOptions(False)
File "C:\Users\bryant.england\OneDrive - University of Nebraska Medical Center\Documents\SlicerCIP4-10-2\SlicerCIP4-10-2-Extensions\Chest_Imaging_Platform\lib\Slicer-4.10\qt-scripted-modules\CIP\ui\PreProcessingWidget.py", line 216, in showFilterOptions
self.filterOptionsFrame.setShown(show)
AttributeError: QFrame has no attribute named 'setShown'
Traceback (most recent call last):
File "C:\Users\bryant.england\OneDrive - University of Nebraska Medical Center\Documents\SlicerCIP4-10-2\SlicerCIP4-10-2-Extensions\Chest_Imaging_Platform\lib\Slicer-4.10\qt-scripted-modules\CIP\ui\PreProcessingWidget.py", line 195, in showFilterParams
self.showFilterOptions(True)
File "C:\Users\bryant.england\OneDrive - University of Nebraska Medical Center\Documents\SlicerCIP4-10-2\SlicerCIP4-10-2-Extensions\Chest_Imaging_Platform\lib\Slicer-4.10\qt-scripted-modules\CIP\ui\PreProcessingWidget.py", line 216, in showFilterOptions
self.filterOptionsFrame.setShown(show)
AttributeError: QFrame has no attribute named 'setShown'

```

1. If we try to create a lung label map despite the above error, it seems to create a map and segment the lungs. However, no output for attenuation areas is generated. Attached is a screenshot of the result:  
 ![CIP_Issue](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/c/ec909bd04aefbec30a902a7301725e8d9daf6a74.jpeg)

Several Debug, Error, Info, and Critical messages appear. The last of these which we wonder if it might be the most serious is the following:

```auto
Traceback (most recent call last):
File "C:/Users/bryant.england/OneDrive - University of Nebraska Medical Center/Documents/SlicerCIP4-10-2/bin/../SlicerCIP4-10-2-Extensions/Chest_Imaging_Platform/lib/Slicer-4.10/qt-scripted-modules/CIP_ParenchymaAnalysis.py", line 434, in onApply
if not self.inputVolumesAreValid():
File "C:/Users/bryant.england/OneDrive - University of Nebraska Medical Center/Documents/SlicerCIP4-10-2/bin/../SlicerCIP4-10-2-Extensions/Chest_Imaging_Platform/lib/Slicer-4.10/qt-scripted-modules/CIP_ParenchymaAnalysis.py", line 362, in inputVolumesAreValid
self.createLungLabelMap()
File "C:/Users/bryant.england/OneDrive - University of Nebraska Medical Center/Documents/SlicerCIP4-10-2/bin/../SlicerCIP4-10-2-Extensions/Chest_Imaging_Platform/lib/Slicer-4.10/qt-scripted-modules/CIP_ParenchymaAnalysis.py", line 408, in createLungLabelMap
input_array = vtk.util.numpy_support.vtk_to_numpy(label_image.GetPointData().GetScalars())
AttributeError: 'module' object has no attribute 'util'

```

---

<div class="post-metadata">

**Author:** ![rbumm](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rbumm/32/9404_2.png) [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Post date:** [November 29, 2023, 2:31am UTC](https://discourse.slicer.org/t/we-arent-getting-the-filtering-options-to-display-while-using-parenchyma-analysis-package-on-a-few-chest-cts/33098/2 "2023-11-29T02:31:01Z")

</div>

Please fully install the latest version of 3D Slicer and try again. Would be great if you could report back.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/0/90326825e300ab7840011ac1e5fa3b0fcc034276.jpeg)

---

<div class="post-metadata">

**Author:** ![punyasharoul](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/punyasharoul/32/68496_2.png) [@punyasharoul](https://discourse.slicer.org/u/punyasharoul)\
**Post date:** [November 29, 2023, 4:44pm UTC](https://discourse.slicer.org/t/we-arent-getting-the-filtering-options-to-display-while-using-parenchyma-analysis-package-on-a-few-chest-cts/33098/3 "2023-11-29T16:44:55Z")

</div>

Thank you, Rudolf, for your response !

We installed the version from:  
cip.bwh.harvard.edu

Is that the latest version you are suggesting?

Punyasha

---

<div class="post-metadata">

**Author:** ![rbumm](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rbumm/32/9404_2.png) [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Post date:** [November 29, 2023, 4:49pm UTC](https://discourse.slicer.org/t/we-arent-getting-the-filtering-options-to-display-while-using-parenchyma-analysis-package-on-a-few-chest-cts/33098/4 "2023-11-29T16:49:46Z")

</div>

You should install the chest imaging platform from 3D Slicers installation manager.
