-
Notifications
You must be signed in to change notification settings - Fork 156
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
I find that it would takes up to 30s to run just import dpdata on the login node of HPC. I did some investigation myself and find that it would load almost all the modules into memory when importing the dpdata module.
Here is the relative code:
https://github.com/deepmodeling/dpdata/blob/master/dpdata/__init__.py#L21-L30
Is it possible to just remove the __all__ expression? I think it is for users who like to use from dpdata import *, which is not a good practices IMO.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request