Data path based on containing DIR location
This commit is contained in:
parent
5a2787a039
commit
70c36333a8
1 changed files with 1 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ from openflexure_microscope_server.things.autofocus import AutofocusThing
|
||||||
THIS_DIR = os.path.dirname(__file__)
|
THIS_DIR = os.path.dirname(__file__)
|
||||||
DATA_PATH = os.path.join(THIS_DIR, "data", "sharpness_test_cases.json")
|
DATA_PATH = os.path.join(THIS_DIR, "data", "sharpness_test_cases.json")
|
||||||
|
|
||||||
|
|
||||||
class MockCapture:
|
class MockCapture:
|
||||||
"""Simple mock object representing a captured image.
|
"""Simple mock object representing a captured image.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue