Skip to content
Snippets Groups Projects
Commit b9ec791a authored by Prathamesh Joshi's avatar Prathamesh Joshi
Browse files

removed the resxtrictions on extincted pdfs

parent f901df7e
No related branches found
No related tags found
1 merge request!564Online new extinction
Pipeline #581627 passed with warnings
This commit is part of merge request !564. Comments created here will be created in the context of that merge request.
......@@ -754,20 +754,6 @@ WHERE
self.noise_lr_lnpdf.array = bg_pdf_extinct
self.noise_lr_lnpdf.normalize()
#
# never allow PDFs that have had the extinction model
# applied to be written to disk: on-disk files must only
# ever provide the original data. forbid PDFs that have
# been extincted from being re-extincted.
#
def new_with_extinction(*args, **kwargs):
raise NotImplementedError("re-extincting an extincted RankingStatPDF object is forbidden")
self.new_with_extinction = new_with_extinction
def to_xml(*args, **kwargs):
raise NotImplementedError("writing extincted RankingStatPDF object to disk is forbidden")
self.to_xml = to_xml
return self
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment