I came up with a "smart" addJetCollection() wrapper that detects when an updateJetCollection()-dependent discriminator is requested and runs both functions in succession, with the module names modified so the final output looks the same as it normally would.
Marked as draft because I'm honestly not sure how maintainable this code is. It's also not cleaned up or complete (could probably be extended to DeepFlavour, maybe others). But it does work, so feedback is welcome...
I came up with a "smart"
addJetCollection()
wrapper that detects when anupdateJetCollection()
-dependent discriminator is requested and runs both functions in succession, with the module names modified so the final output looks the same as it normally would.Marked as draft because I'm honestly not sure how maintainable this code is. It's also not cleaned up or complete (could probably be extended to DeepFlavour, maybe others). But it does work, so feedback is welcome...