We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am getting the following TraitError while using LSTEventSource to read data from a file.
TraitError Traceback (most recent call last) <ipython-input-15-d2660da20ecf> in <module> 3 inputfile_reader = LSTEventSource( 4 input_url=example_file_path, ----> 5 max_events=10 6 ) 7 ~/software/anaconda2/envs/cta-dev/lib/python3.6/site-packages/ctapipe_io_lst-0.2-py3.6.egg/ctapipe_io_lst/__init__.py in __init__(self, config, tool, **kwargs) 56 self.file_list.sort() 57 kwargs['input_url'] = self.file_list[0] ---> 58 super().__init__(config=config, tool=tool, **kwargs) 59 else: 60 super().__init__(config=config, tool=tool, **kwargs) ~/software/ctasoft/ctapipe/ctapipe/io/eventsource.py in __init__(self, config, parent, **kwargs) 142 kwargs 143 """ --> 144 super().__init__(config=config, parent=parent, **kwargs) 145 146 self.metadata = dict(is_simulation=False) ~/software/ctasoft/ctapipe/ctapipe/core/component.py in __init__(self, config, parent, **kwargs) 100 for key, value in kwargs.items(): 101 if not self.has_trait(key): --> 102 raise TraitError(f"Traitlet does not exist: {key}") 103 104 # set up logging TraitError: Traitlet does not exist: tool
Can someone help me regarding this issue?
The text was updated successfully, but these errors were encountered:
This is due to a change in ctapipe.
I will fix this here.
Sorry, something went wrong.
c3f57cd
Merge pull request #6 from cta-observatory/fix_traitlets
b14bd2f
Adapt to ctapipe master, fixes #5
No branches or pull requests
I am getting the following TraitError while using LSTEventSource to read data from a file.
Can someone help me regarding this issue?
The text was updated successfully, but these errors were encountered: