Skip to content

Commit

Permalink
only fif or gif
Browse files Browse the repository at this point in the history
  • Loading branch information
julienguy committed May 4, 2020
1 parent 33d020b commit cc7af7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/desimeter/test/test_findfiducials.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def setUpClass(cls):
'''
cls.spotfile = resource_filename('desimeter', 'test/data/test-spots.csv')
cls.spots = Table.read(cls.spotfile)
cls.spots = cls.spots[:][cls.spots['PINHOLE_ID']>0] # keep only FIF or GIF
cls.input_transform = resource_filename('desimeter',"data/canon-lens-fvc2fp.json")

def setUp(self):
Expand All @@ -32,7 +33,6 @@ def test_findfiducials(self):
spots.remove_columns(['LOCATION', 'PINHOLE_ID', 'X_FP', 'Y_FP',
'X_FP_METRO', 'Y_FP_METRO'])
spots = findfiducials(spots, input_transform=self.input_transform)

#- All fiducial locations found
self.assertTrue(np.all(np.in1d(self.spots['LOCATION'], spots['LOCATION'])))

Expand Down

0 comments on commit cc7af7c

Please sign in to comment.