Skip to content

Commit

Permalink
Merge pull request mantidproject#38071 from robertapplin/38066-undepr…
Browse files Browse the repository at this point in the history
…ecate-qeb-algorithms

Remove the deprecation messages in two algorithms
  • Loading branch information
SilkeSchomann authored Sep 30, 2024
2 parents 76bf7a9 + 07710e3 commit 3afaa63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ def category(self):

def summary(self):
return (
"This algorithm is deprecated, please use BayesQuasi2 instead. \n"
+ "************************************************************* \n \n"
+ "This algorithm runs the Fortran QLines programs which fits a Delta function of"
"This algorithm runs the Fortran QLines programs which fits a Delta function of"
+ " amplitude 0 and Lorentzians of amplitude A(j) and HWHM W(j) where j=1,2,3. The"
+ " whole function is then convolved with the resolution function."
)
Expand Down Expand Up @@ -159,7 +157,6 @@ def PyExec(self):
from IndirectBayes import CalcErange, GetXYE

setup_prog = Progress(self, start=0.0, end=0.3, nreports=5)
self.log().warning("This algorithm is deprecated, please use BayesQuasi2 instead.")
self.log().information("BayesQuasi input")

erange = [self._e_min, self._e_max]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ def category(self):
return "Workflow\\MIDAS"

def summary(self):
return (
"This algorithm is deprecated, please use BayesStretch2 instead. \n"
+ "*************************************************************** \n \n"
+ "This is a variation of the stretched exponential option of Quasi."
)
return "This is a variation of the stretched exponential option of Quasi."

def PyInit(self):
self.declareProperty(
Expand Down Expand Up @@ -110,7 +106,6 @@ def PyExec(self):
from IndirectCommon import check_x_range, check_analysers_or_e_fixed, get_efixed, get_two_theta_and_q, check_hist_zero

setup_prog = Progress(self, start=0.0, end=0.3, nreports=5)
logger.warning("This algorithm is deprecated, please use BayesStretch2 instead.")
logger.information("BayesStretch input")
logger.information("Sample is %s" % self._sam_name)
logger.information("Resolution is %s" % self._res_name)
Expand Down

0 comments on commit 3afaa63

Please sign in to comment.