Skip to content

Commit 7b6602a

Browse files
author
Jon
committed
Add the zmin/zmax to rgb stack test input
1 parent 3f67607 commit 7b6602a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

datalab/datalab_session/tests/test_operations.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,9 @@ def test_operate(self, mock_get_fits, mock_named_tempfile, mock_create_jpgs, moc
237237
mock_save_fits_and_thumbnails.return_value = self.temp_rgb_path
238238

239239
input_data = {
240-
'red_input': [{'basename': 'red_fits', 'source': 'local'}],
241-
'green_input': [{'basename': 'green_fits', 'source': 'local'}],
242-
'blue_input': [{'basename': 'blue_fits', 'source': 'local'}]
240+
'red_input': [{'basename': 'red_fits', 'source': 'local', 'zmin': 0, 'zmax': 255}],
241+
'green_input': [{'basename': 'green_fits', 'source': 'local', 'zmin': 0, 'zmax': 255}],
242+
'blue_input': [{'basename': 'blue_fits', 'source': 'local', 'zmin': 0, 'zmax': 255}]
243243
}
244244

245245
rgb = RGB_Stack(input_data)

0 commit comments

Comments
 (0)