-
Notifications
You must be signed in to change notification settings - Fork 16
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
Restructuring of code elements #6
Comments
Maybe move 'tests' inside of 'Inelastica'? |
From my perspective I think having uppercase sub-modules is unnecessary (and error prone). All is good except |
Would you also suggest to go lower-case elsewhere (package name itself, filenames, classes etc)? |
Yes, we can have |
As for the package name I am not too sure.
|
OK, then we stick with Inelastica (uppercase) for the project name, the main package directory, and the script itself. And inelastica (lowercase) for the repository. At least for now. |
With respect to the latest changes! PS. Great job on moving this so quickly. In I.e. a script:
are all global to the user. Any function defined throughout inelastica without the prefix Just FYI. |
Thanks for your input. No, I guess this is not really what we intend to do... ;) Which approach would you recommend to fix this? To go through the different modules and add prefixes |
As a starter I would probably not do anything. It is more when going forward it may be nice to think about this. For instance consider whether STM-related, Phonon-related, e-ph-related things should be in separate modules or not? But don't spend too much time on it. However, there are several ways of going about this.
All are viable and easy to use solutions. I use a mix of all methods depending on each methods exposure. E.g. if the method is only used in a single module, then it is best to put it there with |
Great, thanks for the advice. I will try to take this into account when going forward. |
I propose to reorganize the code into a structure like this
The text was updated successfully, but these errors were encountered: