From 88a32d36a674c1e50335c5c1b4e9e4dd196be941 Mon Sep 17 00:00:00 2001 From: shigetomo Date: Tue, 5 Dec 2023 22:50:16 +0900 Subject: [PATCH] Change keyword to openmx/out --- dpdata/plugins/openmx.py | 2 +- tests/test_openmx.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dpdata/plugins/openmx.py b/dpdata/plugins/openmx.py index f340857c..121828c2 100644 --- a/dpdata/plugins/openmx.py +++ b/dpdata/plugins/openmx.py @@ -3,7 +3,7 @@ from dpdata.format import Format -@Format.register("openmx") +@Format.register("openmx/out") class OPENMXFormat(Format): """Format for the `OpenMX `. diff --git a/tests/test_openmx.py b/tests/test_openmx.py index 5d4de3da..90bf3824 100644 --- a/tests/test_openmx.py +++ b/tests/test_openmx.py @@ -50,12 +50,12 @@ def test_coord(self): class TestOPENMXTraj(unittest.TestCase, TestOPENMXTRAJProps): def setUp(self): - self.system = dpdata.System("openmx/Methane", fmt="openmx") + self.system = dpdata.System("openmx/Methane", fmt="openmx/out") class TestOPENMXLabeledTraj(unittest.TestCase, TestOPENMXTRAJProps): def setUp(self): - self.system = dpdata.LabeledSystem("openmx/Methane", fmt="openmx") + self.system = dpdata.LabeledSystem("openmx/Methane", fmt="openmx/out") if __name__ == "__main__":