Skip to content

Commit 53192bc

Browse files
committed
Linting and ipi.read -> ase.read
1 parent 03cb3f0 commit 53192bc

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

examples/o3-averaging/o3-averaging.py

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22
Rotational averaging of non-equivariant models
33
==========================
44
5-
:Authors:
6-
Marcel Langer `@sirmarcel <https://github.com/sirmarcel/>`_;
7-
Michele Ceriotti `@ceriottm <https://github.com/ceriottm/>`_
5+
:Authors:
6+
Marcel Langer `@sirmarcel <https://github.com/sirmarcel/>`_;
7+
Michele Ceriotti `@ceriottm <https://github.com/ceriottm/>`_
88
99
DESCRIPTION
1010
"""
1111

1212
# %%
1313

14-
import bz2
1514
import os
1615
import subprocess
1716
import time
@@ -21,8 +20,10 @@
2120
import ase.io
2221
import chemiscope
2322
import ipi
24-
import matplotlib.pyplot as plt
25-
import numpy as np
23+
24+
25+
# import matplotlib.pyplot as plt
26+
# import numpy as np
2627

2728

2829
# %%
@@ -77,9 +78,7 @@
7778
#
7879
# Discuss how molecules get oriented
7980

80-
traj_data = ipi.read_trajectory(
81-
"water-noo3.pos_0.extxyz", format="ase", dimension="length"
82-
)
81+
traj_data = ase.io.read("water-noo3.pos_0.extxyz", ":")
8382

8483
# %%
8584
# then, assemble a visualization

0 commit comments

Comments
 (0)