Commit 83faac66 authored by Theo Steininger's avatar Theo Steininger
Browse files

Fixed typos in Transformation classes: cls.Logger -> cls.logger

parent 5c5cbda2
Pipeline #12215 passed with stages
in 10 minutes and 47 seconds
......@@ -85,13 +85,13 @@ class GLLMTransformation(SlicingTransformation):
mmax = codomain.mmax
if lmax != mmax:
cls.Logger.warn("Unrecommended: codomain has lmax != mmax.")
cls.logger.warn("Unrecommended: codomain has lmax != mmax.")
if lmax != nlat - 1:
cls.Logger.warn("Unrecommended: codomain has lmax != nlat - 1.")
cls.logger.warn("Unrecommended: codomain has lmax != nlat - 1.")
if nlon != 2*nlat - 1:
cls.Logger.warn("Unrecommended: domain has nlon != 2*nlat - 1.")
cls.logger.warn("Unrecommended: domain has nlon != 2*nlat - 1.")
super(GLLMTransformation, cls).check_codomain(domain, codomain)
......
......@@ -83,7 +83,7 @@ class HPLMTransformation(SlicingTransformation):
nside = domain.nside
if lmax != 2*nside:
cls.Logger.warn("Unrecommended: lmax != 2*nside.")
cls.logger.warn("Unrecommended: lmax != 2*nside.")
super(HPLMTransformation, cls).check_codomain(domain, codomain)
......
......@@ -91,13 +91,13 @@ class LMGLTransformation(SlicingTransformation):
mmax = domain.mmax
if lmax != mmax:
cls.Logger.warn("Unrecommended: codomain has lmax != mmax.")
cls.logger.warn("Unrecommended: codomain has lmax != mmax.")
if nlat != lmax + 1:
cls.Logger.warn("Unrecommended: codomain has nlat != lmax + 1.")
cls.logger.warn("Unrecommended: codomain has nlat != lmax + 1.")
if nlon != 2*lmax + 1:
cls.Logger.warn("Unrecommended: domain has nlon != 2*lmax + 1.")
cls.logger.warn("Unrecommended: domain has nlon != 2*lmax + 1.")
super(LMGLTransformation, cls).check_codomain(domain, codomain)
......
......@@ -85,7 +85,7 @@ class LMHPTransformation(SlicingTransformation):
lmax = domain.lmax
if lmax != 2*nside:
cls.Logger.warn("Unrecommended: lmax != 2*nside.")
cls.logger.warn("Unrecommended: lmax != 2*nside.")
super(LMHPTransformation, cls).check_codomain(domain, codomain)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment