Skip to content

Commit

Permalink
chore: run lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Aug 21, 2024
1 parent 7895123 commit e646efb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/py/mat3ra/made/tools/modify.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import numpy as np
from mat3ra.made.material import Material
from mat3ra.made.tools.build.supercell import create_supercell
from mat3ra.made.tools.utils import transform_coordinate_to_supercell
from mat3ra.made.utils import get_center_of_coordinates

from .analyze import (
Expand Down Expand Up @@ -444,7 +443,7 @@ def rotate_material(material: Material, axis: List[int], angle: float) -> Materi
return Material(from_ase(atoms))


def passivate_surface_single_cell(slab: Material, passivant: str, bond_length: float = 1.0):
def passivate_surface(slab: Material, passivant: str, bond_length: float = 1.0):
supercell_scaling_factor = [3, 3, 3]
centered_slab = translate_to_z_level(slab, "center")
centered_slab_supercell = create_supercell(centered_slab, scaling_factor=supercell_scaling_factor)
Expand Down

0 comments on commit e646efb

Please sign in to comment.