Skip to content

Commit

Permalink
fix double swap of coordinates of reference and structure
Browse files Browse the repository at this point in the history
  • Loading branch information
abelcarreras committed Apr 13, 2022
1 parent be38f47 commit b73e0b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/shape_map
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ elif args.m_1:
references = [args.m_1]
elif args.m_custom_1:
reference_polyhedron = file_io.get_geometry_from_file_xyz(args.m_custom_1, read_multiple=False)
reference_polyhedron.set_positions(args.central_atom - 1)
# reference_polyhedron.set_positions(args.central_atom - 1)
references = [reference_polyhedron]

if args.m_2 and args.m_custom_2:
Expand All @@ -150,7 +150,7 @@ elif args.m_2:
references.append(args.m_2)
elif args.m_custom_2:
reference_polyhedron = file_io.get_geometry_from_file_xyz(args.m_custom_1, read_multiple=False)
reference_polyhedron.set_positions(args.central_atom - 1)
# reference_polyhedron.set_positions(args.central_atom - 1)
references.append(reference_polyhedron)

if args.m_1 or args.m_custom_1:
Expand Down

0 comments on commit b73e0b8

Please sign in to comment.