Skip to content
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

dev-TNG_fix #101

Merged
merged 37 commits into from
Mar 27, 2024
Merged

dev-TNG_fix #101

merged 37 commits into from
Mar 27, 2024

Conversation

kateharborne
Copy link
Owner

Bug fix. Updating the read in functions for cosmological models input to prevent the code falling over when attributes are not provided for Datasets that are unnecesary for SimSpin to function.

Read file functions have been shifeted to a new .R file for ease of reading the source code. This is now contained in read_files.R, rather than utilities.R .

This fix means that HDF5 files extracted directly from the TNG database for galaxy cutouts will now produce outputs successfully, fixing Issue #95.

…has a method to test for the input file type.
Merge branch 'dev-tispy_binary_file_support' of github.com:kateharborne/SimSpin into dev-tispy_binary_file_support

# Conflicts:
#	R/utilities.R
…tasets for SimSpin. Added for EAGLE, TNG, Magneticum and HorizonAGN.
…ad routines now removed from the Utilities function file, "utilities.R".
…tasets for SimSpin. Added for EAGLE, TNG, Magneticum and HorizonAGN.
@kateharborne kateharborne self-assigned this Mar 26, 2024
@kateharborne kateharborne linked an issue Mar 26, 2024 that may be closed by this pull request
Copy link

codecov bot commented Mar 26, 2024

Codecov Report

Attention: Patch coverage is 81.85907% with 121 lines in your changes are missing coverage. Please review.

Project coverage is 91.03%. Comparing base (0469ff4) to head (9bb7b4f).
Report is 13 commits behind head on main.

Files Patch % Lines
R/read_files.R 80.38% 121 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #101      +/-   ##
==========================================
+ Coverage   90.90%   91.03%   +0.13%     
==========================================
  Files          17       18       +1     
  Lines        3430     3492      +62     
==========================================
+ Hits         3118     3179      +61     
- Misses        312      313       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kateharborne kateharborne merged commit cdb17c1 into main Mar 27, 2024
5 of 6 checks passed
@kateharborne kateharborne deleted the dev-TNG_fix branch March 27, 2024 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hdf5 file extracted from Illustris not compatible with Make SimSpin
1 participant