-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
APIHow users interact with the softwareHow users interact with the software
Description
In [177]: simtp.micado.flatlamp(fraction=1)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[177], line 1
----> 1 simtp.micado.flatlamp(fraction=1)
File ~/ELT_Development/ScopeSim_Templates/scopesim_templates/utils/general_utils.py:74, in add_function_call_str.<locals>.wrapper(*args, **kwargs)
72 call_str = function_call_str(func, args, kwargs)
73 logging.debug("Calling %s ...", call_str)
---> 74 src = func(*args, **kwargs)
75 src.meta["object"] = func.__name__
76 src.meta["function_call"] = call_str
TypeError: flatlamp() got an unexpected keyword argument 'fraction'
This must have something to do with the decorator in micado/__init__.py:
@add_function_call_str
def flatlamp():
return _flatlamp()
as simtp.micado._flatlamp(fraction=1) works!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
APIHow users interact with the softwareHow users interact with the software