From 73fefd542c00fc060b8e8e78102d9625b722bcde Mon Sep 17 00:00:00 2001 From: Remi Lehe Date: Tue, 12 Nov 2024 09:01:28 -0800 Subject: [PATCH] Revert "Python: Warn old `warpx.multifab` Signature (#5326)" This reverts commit 78cf034088823d798b1641d47588f8c63aefa9b9. --- Source/Python/WarpX.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Source/Python/WarpX.cpp b/Source/Python/WarpX.cpp index 932304d5009..921adff254f 100644 --- a/Source/Python/WarpX.cpp +++ b/Source/Python/WarpX.cpp @@ -115,11 +115,6 @@ void init_WarpX (py::module& m) ) .def("multifab", [](WarpX & wx, std::string internal_name) { - py::print("WARNING: WarpX' multifab('internal_name') signature is deprecated.\nPlease use:\n" - "- multifab('prefix', level=...) for scalar fields\n" - "- multifab('prefix', dir=..., level=...) for vector field components\n" - "where 'prefix' is the part of 'internal_name';' before the []", - py::arg("file") = py::module_::import("sys").attr("stderr")); if (wx.m_fields.internal_has(internal_name)) { return wx.m_fields.internal_get(internal_name); } else {