From ad2215aec514e3e7499b796945d554c51b55a019 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sun, 21 Jun 2020 15:10:07 +0200 Subject: Update the code to work with the latest feature/jakob2019 --- test_integration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test_integration.py') diff --git a/test_integration.py b/test_integration.py index e6aa819..d1b564f 100644 --- a/test_integration.py +++ b/test_integration.py @@ -14,7 +14,7 @@ if __name__ == "__main__": sd = XYZ_to_sd(XYZ, method="Jakob 2019", verbose=True) interp = Jakob2019Interpolator() - interp.read_file("data/srgb.coeff") - sdi = interp(RGB) + interp.from_file("data/srgb.coeff") + sdi = interp.RGB_to_sd(RGB) plot_multi_sds([sd, sdi]) -- cgit