Skip to content

Commit

Permalink
Finish renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
samjrholt committed Jun 11, 2024
1 parent 88b1991 commit 82683bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions micromagneticdata/tests/generate_test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def clean():
shutil.rmtree(dirname)


def test_sample():
def rectangle():
"""Simple rectangular ferromagnetic sample in external magnetic field."""
print(">>> Running test sample")
p1 = (-50e-9, -25e-9, 0)
Expand Down Expand Up @@ -61,7 +61,7 @@ def test_sample():
try:
rd = mc.RelaxDriver()
except AttributeError:
rd = oc.MinDriver
rd = oc.MinDriver()
rd.drive(system, dirname=dirname) # drive-3

md = mc.MinDriver()
Expand Down Expand Up @@ -146,6 +146,6 @@ def Ms_fun(point):

if __name__ == "__main__":
clean()
test_sample()
rectangle()
vortex()
hysteresis()

0 comments on commit 82683bd

Please sign in to comment.