Skip to content

Commit

Permalink
Change setting keyword to wavel_setting
Browse files Browse the repository at this point in the history
  • Loading branch information
avigan committed Dec 6, 2023
1 parent 8afd90f commit 79f5076
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pycrires/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Pipeline:
"""

@typechecked
def __init__(self, path: Optional[str] = None, setting: Optional[str] = None) -> None:
def __init__(self, path: Optional[str] = None, wavel_setting: Optional[str] = None) -> None:
"""
Parameters
----------
Expand All @@ -65,7 +65,7 @@ def __init__(self, path: Optional[str] = None, setting: Optional[str] = None) ->
stored. The current working folder is used if the arguments
of ``path`` is set to ``None``.
setting : str, None
wavel_setting : str, None
Specific spectral setting for which to process the calibrations.
This keyword is usefully if one just wants to create calibrations
without any SCIENCE frames. The default value is ``None``, in
Expand Down Expand Up @@ -93,7 +93,7 @@ def __init__(self, path: Optional[str] = None, setting: Optional[str] = None) ->

# manually set spectral setting

self.setting = setting
self.setting = wavel_setting

if self.setting:
print(f"Manually set spectral setting: {self.setting}")
Expand Down

0 comments on commit 79f5076

Please sign in to comment.