Skip to content

Commit

Permalink
tng/illustris: fix sense
Browse files Browse the repository at this point in the history
  • Loading branch information
dylex committed Aug 17, 2023
1 parent 4c71c06 commit 32d8b69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ingest/HDF5.hs
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ ingestTNG inginfo = do
info' <- prepareIngest info{ ingestFile = fn } ghf
when (fi /= 0 && nf /= nf') $ fail "NumFiles mismatch"
open nf' (succ fi) (next info') $ act . ((info', ghf) :)
where fn = gdir </> ("groups_" ++ snap3) </> ((if isill then "fof_subhalo_tab_" else "groups_") ++ snap3 ++ "." ++ show fi ++ ".hdf5")
where fn = gdir </> ("groups_" ++ snap3) </> ((if isill then "groups_" else "fof_subhalo_tab_") ++ snap3 ++ "." ++ show fi ++ ".hdf5")
load [] _ _ = return 0 -- FIXME total rows
load ghfs@((ginfo, _):_) subhfs supji = do
liftIO $ rePutStr $ showing ginfo <> " " <> showing (fst $ head subhfs)
Expand Down

0 comments on commit 32d8b69

Please sign in to comment.