Skip to content

Commit

Permalink
Last bug fixed with Ben
Browse files Browse the repository at this point in the history
  • Loading branch information
braden6521 authored and bbean23 committed Apr 9, 2024
1 parent ca7a69b commit 36e9c3c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion opencsp/app/sofast/lib/sofast_common_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,6 @@ def set_exposure(new_exp: int, image_acquisition: ImageAcquisitionAbstract = Non
RuntimeError:
If there is no camera instance
"""
check_camera_loaded('set_exposure', image_acquisition_default=image_acquisition)
check_camera_loaded('set_exposure', image_acquisition=image_acquisition)
image_acquisition, _ = get_default_or_global_instances(image_acquisition_default=image_acquisition)
image_acquisition.exposure_time = int(new_exp)
1 change: 0 additions & 1 deletion opencsp/common/lib/camera/ImageAcquisition_DCAM_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def __init__(self, instance: int = 0, pixel_format: str = 'BayerRG12'):
- Other RGB based formats as defined by Basler
"""
super().__init__()
MonoIA._check_pypylon_version()

# Find all instances of DCAM cameras
Expand Down
1 change: 0 additions & 1 deletion opencsp/common/lib/camera/ImageAcquisition_DCAM_mono.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def __init__(self, instance: int = 0, pixel_format: str = 'Mono8'):
- Others as defined by Basler
"""
super().__init__()
ImageAcquisition._check_pypylon_version()

# Find all instances of DCAM cameras
Expand Down

0 comments on commit 36e9c3c

Please sign in to comment.