Skip to content

Commit

Permalink
Fix IRVB calculate sensitivity method
Browse files Browse the repository at this point in the history
Spectral pipelines have no display_progress option.
  • Loading branch information
jacklovell committed Mar 27, 2024
1 parent cd06ea0 commit 745a3ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ New:

Bug fixes:
* Fix deprecated transforms being cached in LaserMaterial after laser.transform update (#420)
* Fix IRVB calculate sensitivity method.

Release 1.4.0 (3 Feb 2023)
-------------------
Expand Down
2 changes: 1 addition & 1 deletion cherab/tools/observers/bolometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit 745a3ea

Please sign in to comment.