From ea1363f06c901ecf36c4afe80b4066b0dcdab588 Mon Sep 17 00:00:00 2001 From: Jack Lovell Date: Mon, 4 Mar 2024 16:37:58 +0000 Subject: [PATCH] Fix IRVB calculate sensitivity method Spectral pipelines have no display_progress option. --- cherab/tools/observers/bolometry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cherab/tools/observers/bolometry.py b/cherab/tools/observers/bolometry.py index dc149b29..20179796 100644 --- a/cherab/tools/observers/bolometry.py +++ b/cherab/tools/observers/bolometry.py @@ -943,7 +943,7 @@ def calculate_sensitivity(self, voxel_collection, ray_count=None): raise TypeError("voxel_collection must be of type VoxelCollection") pipeline_class = self._SPECTRAL_PIPELINES[self._units] - pipeline = pipeline_class(display_progress=False) + pipeline = pipeline_class() voxel_collection.set_active("all")