Coverage for ase/_4/plugins/legacy_plugins.py: 100.00%
4 statements
« prev ^ index » next coverage.py v7.16.2, created at 2026-11-27 15:21 +0000
« prev ^ index » next coverage.py v7.16.2, created at 2026-11-27 15:21 +0000
1"""Legacy ExternalIOFormatPlugin are imported to this namespace
3From there they are exposed to the new plugin system
4"""
6from importlib.metadata import entry_points
8from .io import LegacyIOFormatPlugin
10legacy_entry_points = entry_points(group='ase.ioformats')
12__ase_plugins__ = {
13 LegacyIOFormatPlugin.from_legacy_entry_point(entry_point)
14 for entry_point in legacy_entry_points
15}