Skip to content
Snippets Groups Projects
Commit 2bbeeb26 authored by Bruce Edelman's avatar Bruce Edelman
Browse files

fix flake8

parent 6b64ce09
No related branches found
No related tags found
No related merge requests found
Pipeline #112042 failed
......@@ -41,7 +41,7 @@ class PriorDict(dict):
self.from_file(filename)
elif dictionary is not None:
raise ValueError("PriorDict input dictionary not understood")
self._cached_normalizations= {}
self._cached_normalizations = {}
self.convert_floats_to_delta_functions()
......@@ -390,7 +390,6 @@ class PriorDict(dict):
if len(keep) == 1:
return 1
all_samples = {key: np.array([]) for key in keys}
_first_key = list(all_samples.keys())[0]
while np.count_nonzero(keep) < min_accept:
samples = self.sample_subset(keys=keys, size=sampling_chunk)
for key in samples:
......
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