-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
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
Split aqmon hits issue #1061
Closed
Closed
Split aqmon hits issue #1061
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
8d845b6
use hitlets instead of hits due to unwanted splitting of signals
e8d49d5
small fix
944b09d
update docstring
940bd32
missing self fixes it?
RoBGlaBe 1ede797
another try to fix
RoBGlaBe 93bb607
fix
RoBGlaBe aacad31
dtype conflict with fakehits; now use full hits-dtype
RoBGlaBe df732fa
class for aqmon_hits dtype
RoBGlaBe efaa879
updated dtype usage in aqmon_hit method
RoBGlaBe ee4edd1
updated dtypes in yet another location..
RoBGlaBe c2f1630
use infer_dtype
RoBGlaBe 31f376b
Update test_aqmon.py
JoranAngevaare c6a7aca
Merge branch 'master' into split_aqmon_hits_issue
JoranAngevaare f5f16f8
Update test_aqmon.py
JoranAngevaare a1624cd
need reference to instance in method
RoBGlaBe 04b6d1f
Merge branch 'split_aqmon_hits_issue' of https://github.com/XENONnT/s…
RoBGlaBe 0d7b2fd
type issue
RoBGlaBe f78780a
Merge branch 'master' into split_aqmon_hits_issue
JoranAngevaare 93f951c
Merge branch 'master' into split_aqmon_hits_issue
JoranAngevaare File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is where the current tests are failing. It should actually work like this. When strax.get_hitlets_data is called it lastly complains at https://github.com/AxFoundation/strax/blob/156254287c2037876a7040460b3551d590bf5589/strax/processing/hitlets.py#L214 . My hunch is that we pass something that look's a little different to what https://github.com/AxFoundation/strax/blob/156254287c2037876a7040460b3551d590bf5589/strax/processing/hitlets.py#L222 usually sees and the cached compiled function doesn't like it and seg faults. Any idea on how to fix this? If we delete the cache, we might have the same problem the other way around, no? Maybe we find out what's the difference it doesn't like and provide what it likes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're back to this issue now:
[...]
Fatal Python error: Segmentation fault
Current thread 0x00007fd8cd53f700 (most recent call first):
File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/strax/processing/hitlets.py", line 214 in get_hitlets_data
File "/home/runner/work///***/plugins/acqmon_processing.py", line 117 in compute
File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/strax/plugin.py", line 596 in do_compute
File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/strax/plugin.py", line 488 in iter
File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/site-packages/strax/mailbox.py", line 281 in _send_from
File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/threading.py", line 870 in run
File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/threading.py", line 932 in _bootstrap_inner
File "/opt/hostedtoolcache/Python/3.8.13/x64/lib/python3.8/threading.py", line 890 in _bootstrap
[...]
/home/runner/work/_temp/a65694df-fcc9-4870-821e-663ce8843c36.sh: line 1: 2489 Segmentation fault (core dumped) coverage run --source=*** -m pytest --durations 0
tests/test_daq_reader.py
Error: Process completed with exit code 139.