From f62f98a6922c94a66b2583eda077c7349c2d2670 Mon Sep 17 00:00:00 2001 From: radek_poleski Date: Mon, 18 Mar 2024 11:31:06 +0100 Subject: [PATCH] comments in VBBL imports --- source/MulensModel/tests/test_BinaryLensImports.py | 6 ++++++ source/VBBL/vbbl_wrapper.cpp | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/source/MulensModel/tests/test_BinaryLensImports.py b/source/MulensModel/tests/test_BinaryLensImports.py index bd6c3a60..f4833ca5 100644 --- a/source/MulensModel/tests/test_BinaryLensImports.py +++ b/source/MulensModel/tests/test_BinaryLensImports.py @@ -4,6 +4,12 @@ import MulensModel as mm +# The test presented check if VBBL code was imported properly and +# they intentionally call private functions from mm.binarylensimports. + +# The values for tests were copied from other tests. + + def test_VBBL_dark(): """ Directly (hence, calling private function) test imported VBBL function: diff --git a/source/VBBL/vbbl_wrapper.cpp b/source/VBBL/vbbl_wrapper.cpp index 21e4879e..d8594dfd 100644 --- a/source/VBBL/vbbl_wrapper.cpp +++ b/source/VBBL/vbbl_wrapper.cpp @@ -140,7 +140,6 @@ static PyMethodDef VBBLMethods[] = { {"VBBinaryLensing_BinaryMagFinite", VBBinaryLensing_BinaryMagFinite_wrapper, METH_VARARGS, "some notes here"}, {"VBBinaryLensing_BinaryMagPoint", VBBinaryLensing_BinaryMagPoint_wrapper, METH_VARARGS, "some notes here"}, {"VBBinaryLensing_BinaryMagPointShear", VBBinaryLensing_BinaryMagPointShear_wrapper, METH_VARARGS, "some notes here"}, - //{"VBBinaryLensing_BinaryMag0", VBBinaryLensing_BinaryMag0_wrapper, METH_VARARGS, "some notes here"}, {"VBBL_SG12_5", VBBL_SG12_5_wrapper, METH_VARARGS, "some notes here"}, {"VBBL_BinaryMag", VBBinaryLensing_BinaryMag_wrapper, METH_VARARGS, "some notes here"}, {"VBBL_SG12_9", VBBL_SG12_9_wrapper, METH_VARARGS, "some notes here"},