refactor: modernize System and Molecule classes with dataclasses and cleanup
- Convert System and Molecule classes to use @dataclass and field for defaults - Remove unused imports and legacy code from system.py - Move print_charges_and_dipole method from System to Player for better separation of concerns - Minor formatting and import order improvements for consistency
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from diceplayer.utils.ptable import PTable, AtomInfo
|
||||
from diceplayer.utils.ptable import AtomInfo, PTable
|
||||
|
||||
from dataclasses import dataclass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user