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

transients_ columns should only appear in metadata table if simulating transients #529

Open
moustakas opened this issue Apr 12, 2020 · 2 comments
Assignees

Comments

@moustakas
Copy link
Member

Spun off from #525 but also impacting desitarget in desihub/desitarget#603.

@sybenzvi
Copy link

@moustakas, I'm finally looking into this.

My intention was always to conditionally insert the TRANSIENT_ columns into the truth tables when the user adds transients to galaxy templates through desisim. The default behavior should be to exclude the columns. I set up a boolean in desisim to manage it but found its state was being lost when the generation code was called in desitarget.

I know where the problem is, but unfortunately when writing the code I couldn't figure out an easy fix, so I left the columns in place with the intention of revisiting the issue. Then I got distracted and my "temporary" non-solution was merged into the master branch.

@moustakas
Copy link
Member Author

@sybenzvi, absolutely! I just opened this ticket so we wouldn't lose track. When I find some cycles I can also help figure out the right desitarget<-->desisim hooks. For example, it'd be great to add a transients simulation option to select_mock_targets, which should be straightfoward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants