Skip to content
Snippets Groups Projects
Commit 067991d7 authored by Harriet Brown's avatar Harriet Brown
Browse files

change line: `if not x in y`, to `if x not in y`

parent 91e94cb2
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ class Polaris(AbstractInst):
return vanadium_d
def create_total_scattering_pdf(self, **kwargs):
if not 'q_lims' in kwargs:
if 'q_lims' not in kwargs:
kwargs['q_lims'] = None
self._inst_settings.update_attributes(kwargs=kwargs)
# Generate pdf
......
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