-
Notifications
You must be signed in to change notification settings - Fork 14
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
Faster parser for CrystFEL stream files #216
Conversation
for more information, see https://pre-commit.ci
Codecov Report
@@ Coverage Diff @@
## main #216 +/- ##
==========================================
- Coverage 98.39% 96.58% -1.81%
==========================================
Files 45 45
Lines 1803 1845 +42
==========================================
+ Hits 1774 1782 +8
- Misses 29 63 +34
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Does this/could this also address #213 ? |
@DHekstra , i don't know if the information you want is available in the stream file. i would need to see an example. |
This looks pretty good to me, but I'll do another look through before approving/merging. |
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.
I think this looks good to me-- feel free to merge if you think it is ready to go.
There are a couple of issues that still need to be addressed
I'm going to hold off until I have a bit more time to look through it. |
@kmdalton, what is the status of this? I'm revisiting some stream files next week, and could test drive your parser. |
I was not able to parse some stream files @DHekstra gave me. There are some formatting differences between stream files that I haven't accounted for. I'm unlikely to have time to finish this soon. |
that's alright. I have a slow but functional parser. |
Just checking in here -- is there anything left to do on this PR or should it be merged into main? |
I discovered this version in was incompatible with some stream files provided by @DHekstra. I haven't been able to diagnose the issue yet. I would recommend we hold off on merging. |
Does this need to be merged anymore? Or will this be superseded by #260 ? |
superseded by #260 |
I wrote a faster version of the stream file parser. It mostly just uses more numpy and less pandas while vectorizing operations within a crystal block.