Skip to content

Commit

Permalink
ref: map is now in nm, minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Jun 29, 2021
1 parent def979c commit 54335ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/test_indent.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def test_export():
idnt.apply_preprocessing(["compute_tip_position"])
# create temporary file
_, path = tempfile.mkstemp(suffix=".tab", prefix="nanite_idnt_export")
idnt.export(path)
idnt.export_data(path)
data = afmformats.load_data(path)[0]
assert len(data) == 4000
assert np.allclose(data["force"][100], -4.853736717639109e-10)
Expand Down
6 changes: 3 additions & 3 deletions tests/test_qmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ def test_feat_cp():
vals = qd.flat[~np.isnan(qd.flat)]
# These are subject to change when contact point preprocessing
# changes.
assert np.allclose(vals[0], -9.59128590161483e-07), "gray matter"
assert np.allclose(vals[2], -3.995012408063929e-06), "white matter"
assert np.allclose(vals[1], -9.470884627033841e-07), "background"
assert np.allclose(vals[0], -9.59128590161483e+02), "gray matter"
assert np.allclose(vals[2], -3.995012408063929e+03), "white matter"
assert np.allclose(vals[1], -9.470884627033841e+02), "background"


def test_feat_emod_nofit():
Expand Down

0 comments on commit 54335ce

Please sign in to comment.