-
Notifications
You must be signed in to change notification settings - Fork 1
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
Elehcim gadget2 particle #12
Conversation
- Many routines translated from pynbody to read gadget2 files (format 1 and 2). - Drastically reduced code repetition. TODO: - A config file needed for collect gadget user defined fields and relative units. - StructArray data type (e.g. Float32 of Float64) can't be instantiated at runtime. I think it should be possible, but still I need to find a way. - Rebase with latest modifications upstream
More elegant way, not having to append! (which was causing a 'type does not have a definite number of fields' error). Also probably more efficient because memory is contiguous from the beginning.
because there is no method for `peek(::Stream{DataFormat{:Gadget2}, args...)`
… into elehcim-Gadget2Particle
Codecov Report
@@ Coverage Diff @@
## master #12 +/- ##
==========================================
+ Coverage 70.13% 74.14% +4.01%
==========================================
Files 8 9 +1
Lines 673 704 +31
==========================================
+ Hits 472 522 +50
+ Misses 201 182 -19
Continue to review full report at Codecov.
|
No description provided.