Args were not matching function signature correctly

Merged
#49 · Created  · Last updated

Merged pull request

Merged in explicit_args (pull request #49)

993c6f5·Author: ·Closed by: ·2022-03-15

Description

While looking at the VISP failure I saw this in the science task. I think the arguments in the intermediate_frame_helpers_write_arrays call were being assigned to the incorrect variables inside the function as they weren’t being directly referenced but were being referenced by position instead. Can someone check this for me?

 

For reference:

def intermediate_frame_helpers_write_arrays( self, arrays: Union[Iterable[np.ndarray], np.ndarray], headers: Optional[Union[Iterable[fits.Header], fits.Header]] = None, beam: Optional[int] = None, modstate: Optional[int] = None, dsps_repeat: Optional[int] = None, raster_step: Optional[int] = None, task: Optional[str] = None, exposure_time: Optional[float] = None, ) -> None:

 

0 attachments

0 comments

Loading commits...