Closed jan-janssen closed 1 month ago
The recent changes in the atomistics/calculators/lammps/__init__.py
file involve reorganizing the __all__
list, which determines the entities exported by the module. Specifically, the function calc_molecular_dynamics_phonons_with_lammps
is now conditionally included in __all__
based on its import success. Additionally, the assignment of __all__
has been modified to use the +=
operator instead of direct assignment.
Files | Change Summary |
---|---|
atomistics/calculators/lammps/__init__.py |
Reorganized __all__ list for exported entities. Conditional inclusion of calc_molecular_dynamics_phonons_with_lammps based on import success. Changed assignment of __all__ to use += . |
No sequence diagrams are generated as the changes are too simple and do not involve new features or modifications to control flow.
In the realm of code so bright, A list of exports takes its flight, Conditional checks, imports align, With
+=
the modules shine. LAMMPS dances with phonons clear, In Python's light, they all appear. 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit