-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add ability to insist on using IDL-refined AHF catalogues #120
Conversation
…ok's toolset), or to insist on ignoring those catalogues. This is in response to issue #117, where it has become clear people have both types of catalogue on disk and this can cause severe confusion due to the automated search for catalogues and statistics files. To insist on using IDL-generated catalogues, use tangos add <name_of_sim> --handler=pynbody.ChangaUseIDLInputHandler To insist on ignoring IDL-generated catalogues, use tangos add <name_of_sim> --handler=pynbody.ChangaIgnoreIDLInputHandler
@apontzen quick question. Will the handler have to be specified for all subsequent calculations too? also, can you ping me when this is resolved and I can start working on the AHF branch again to finalize that? Thanks! |
No no, the handler is associated with the simulation when you add it. It's automatically used after that. @trquinn could you confirm whether this helps for your situation? Then I can merge. |
I already have most of the code done on a branch tracking master so much easier to wait. Still, I'd rather play it safe and wait until this is done so I don't end up screwing anything up :-) |
starting a run now (it will take a day or two to complete). |
With
|
That looks correct (sort of) -- you are asking it to use the .amiga.grp files, and it is attempting to do so. But it can't find one of them on disk. Are they definitely all there? |
I'm having trouble testing this since, for some reason, I don't have all the amig.grp files. It looks like either AHF or the IDL failed with some timesteps. I did test the |
Hey just a ping on this... should it be merged soon? |
I merged this rather than let it hang any longer. Even though we didn't seem to fully test it in the real world I believe it should work and we can reopen an issue if not. |
Add ability to insist on using IDL-refined AHF catalogues (Alyson Brooks' toolset),
or to insist on ignoring those catalogues. This is in response to issue #117, where
it has become clear people have both types of catalogue on disk and this can cause
severe confusion due to the automated search for catalogues and statistics files.
To insist on using IDL-generated catalogues, use
To insist on ignoring IDL-generated catalogues, use
The default behaviour remains unchanged (it will guess the best files to use,
which can lead to confusion if there is more than one type of catalogue
hanging around on disk)