Skip to content

Commit

Permalink
Add paramaterization to access another code branch
Browse files Browse the repository at this point in the history
  • Loading branch information
pc494 committed Aug 31, 2018
1 parent 4e787ad commit a591ad5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_signals/test_electron_diffraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ class TestBackgroundMethods:
('h-dome', {'h': 1,}),
('gaussian_difference', {'sigma_min': 0.5, 'sigma_max': 1, }),
('median', {'footprint': 4,}),
('median', {'footprint': 4, 'implementation': 'skimage'}),
('reference_pattern',{'bg':np.ones((8,8)),})
])
def test_remove_background(self, diffraction_pattern,
Expand Down Expand Up @@ -271,3 +272,6 @@ def test_remove_dead_pixels_failing(self,diffraction_pattern):

def test_remove_background(self, diffraction_pattern):
bgr = diffraction_pattern.remove_background(method='fake_method')

def test_remove_background(self, diffraction_pattern):
bgr = diffraction_pattern.remove_background(method='median',implementation='fake_implementation')

0 comments on commit a591ad5

Please sign in to comment.