-
Notifications
You must be signed in to change notification settings - Fork 1
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
Applications are painfully slow to even start. #681
Comments
This looks like that this is almost exclusively due to ctapipe. I suggest to remove anything related to ctapipe from simtools.utils.general and move it into a separate module. The @VictorBarbosaMartins - is it fine for you if I move this out of general.py? |
PR #682 addresses most of this issue. When we discuss the cleanup of general.py, we should address the remaining issues (e.g., moving the coordinate transformations somewhere else will remove the dependency on astropy.coordinates.errors (1/3 of import time). Rest is due to astropy.units, which is something we need. |
Hi Gernot. That is probably a good idea, Im fine with it |
This is really starting to get an issue, as it slows down developing, testing, everything.
Running e.g.,
Take >3 sec for me. This should just print help.
Running
shows that it us due to extensive importing (see attachment).
In this example, it is e.g., not clear why ctapipe is imported.
import.txt
The text was updated successfully, but these errors were encountered: