Skip to content
Snippets Groups Projects
Commit e411b206 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Simplify logged sampler output - if cached don't print

parent 9eddf31b
No related branches found
No related tags found
1 merge request!39Adding cached data check
Pipeline #
......@@ -206,8 +206,9 @@ class Sampler(object):
self.cached_result = None
def log_summary_for_sampler(self):
logging.info("Using sampler {} with kwargs {}".format(
self.__class__.__name__, self.kwargs))
if self.cached_result is False:
logging.info("Using sampler {} with kwargs {}".format(
self.__class__.__name__, self.kwargs))
class Nestle(Sampler):
......
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