Skip to content

Commit fb8570e

Browse files
committed
update dependcies
1 parent 3e6ab3f commit fb8570e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

core/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ packages = ["src/hsi2rgb"]
3737

3838
[dependency-groups]
3939
dev = [
40-
"fetch-houston2013>=0.5.0",
40+
"fetch-houston2013>=0.5.1",
4141
"jax>=0.5.3",
4242
"matplotlib>=3.10.1",
4343
"torch>=2.6.0",

core/tests/test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
class TestHsi2Rgb(unittest.TestCase):
88
def setUp(self):
99
return super().setUp()
10-
Path("tests/runs/").mkdir(parents=True, exist_ok=True)
1110

1211
def test_batch_tensor(self):
1312
import torch
@@ -49,6 +48,7 @@ def test_muufl(self):
4948
self.assertEqual(rgb.shape, (hsi.shape[1], hsi.shape[2], 3))
5049
self.assertGreaterEqual(rgb.max(), 0)
5150
self.assertLessEqual(rgb.min(), 1)
51+
Path("tests/runs/").mkdir(parents=True, exist_ok=True)
5252
imsave('tests/runs/test_muufl.png', rgb)
5353

5454
def test_trento(self):
@@ -58,6 +58,7 @@ def test_trento(self):
5858
self.assertEqual(rgb.shape, (hsi.shape[1], hsi.shape[2], 3))
5959
self.assertGreaterEqual(rgb.max(), 0)
6060
self.assertLessEqual(rgb.min(), 1)
61+
Path("tests/runs/").mkdir(parents=True, exist_ok=True)
6162
imsave('tests/runs/test_trento.png', rgb)
6263

6364
def test_houston2013(self):
@@ -67,6 +68,7 @@ def test_houston2013(self):
6768
self.assertEqual(rgb.shape, (hsi.shape[1], hsi.shape[2], 3))
6869
self.assertGreaterEqual(rgb.max(), 0)
6970
self.assertLessEqual(rgb.min(), 1)
71+
Path("tests/runs/").mkdir(parents=True, exist_ok=True)
7072
imsave('tests/runs/test_houston2013.png', rgb)
7173

7274
def test_jax_tensor(self):

0 commit comments

Comments
 (0)