Skip to content

Commit

Permalink
added detection-presets to manifest.in
Browse files Browse the repository at this point in the history
  • Loading branch information
cudmore committed Nov 22, 2023
1 parent ff1b900 commit 0ac1e26
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tests/test_detection.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
from sanpy.bDetection import bDetection

def test_detection():
bd = bDetection()

# bDetection() is getting a dict where values are from json files
# pulls from two locations
# 1) package sanpy/detection-presets
# 2) <user>/Documents/Sanpy-User-Files/detection

#Note (2) is empty by default

# self._detectionPreset = self._getPresetsDict()
# print(bd._detectionPreset)

presetList = bd.getDetectionPresetList()
assert len(presetList) > 0

# print(presetList)

if __name__ == '__main__':
test_detection()

0 comments on commit 0ac1e26

Please sign in to comment.