Skip to content
Snippets Groups Projects
Commit 29a9fc9a authored by Andi Gerken's avatar Andi Gerken
Browse files

Minor fix in default orientation (Issue #5)

parent f8ef18cd
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ setup(
version=source_version(),
author="",
author_email="",
install_requires=["h5py>=3.2.1", "numpy", "seaborn", "pandas", "deprecation"],
install_requires=["h5py>=3.1.0", "numpy", "seaborn", "pandas", "deprecation"],
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
......
......@@ -138,7 +138,7 @@ class Entity(h5py.Group):
def orientations(self):
if not "orientations" in self:
# If no orientation is given, the default direction is to the right
return np.tile([1, 0], (self.positions.shape[0], 1))
return np.tile([0, 1], (self.positions.shape[0], 1))
return self["orientations"]
@property
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment