Fix incorrect docstrings in remove_cosmic_rays and source_extractor
Summary
While going through the data_processing models I found a small copy-paste issue: two functions reuse the summary line from extract_roi_to_xarray, so their docstrings describe the wrong behavior. This also propagates into the generated JSON schema and the rendered API docs.
Here are the affected locations:
1. pyxel/models/data_processing/remove_cosmic_rays.py
- Function:
remove_cosmic_rays(definition around line 76) - Docstring summary around line 84
Current summary:
"Extract the roi data converts it to xarray dataset and saves the information to the final result."
2. pyxel/models/data_processing/source_extractor_model.py
- Function:
source_extractor(definition around line 292) - Docstring summary around line 298
Current summary:
"Extract the roi data converts it to xarray dataset and saves the information to the final result."
Additional information
In the generated pyxel_schema.json, these docstrings also appear as the corresponding "description" fields (around lines 6611 and 6724 in v3.0.2). Updating the docstrings and regenerating the schema should automatically correct these descriptions in both the schema and the rendered API documentation.
I'd be happy to open a merge request for this if that's preferred. Thank you!