Skip to content
Snippets Groups Projects
Commit d85c6a67 authored by Michael Wedel's avatar Michael Wedel
Browse files

Refs #12780. Forgot to remove debug statements.

parent 08bca9af
No related branches found
No related tags found
No related merge requests found
...@@ -480,7 +480,6 @@ Building on the example above which showed how to check whether a reflection is ...@@ -480,7 +480,6 @@ Building on the example above which showed how to check whether a reflection is
uniqueValues = set(values) uniqueValues = set(values)
for val in uniqueValues: for val in uniqueValues:
frequencyDict[val] = values.count(val) frequencyDict[val] = values.count(val)
print val, values.count(val)
return frequencyDict return frequencyDict
...@@ -515,7 +514,6 @@ Building on the example above which showed how to check whether a reflection is ...@@ -515,7 +514,6 @@ Building on the example above which showed how to check whether a reflection is
# (see the helper functions defined above). # (see the helper functions defined above).
spaceGroupMatchList.append((sgSymbol, getValueFrequencies(conditionsMatchList))) spaceGroupMatchList.append((sgSymbol, getValueFrequencies(conditionsMatchList)))
print spaceGroupMatchList
# Sort the list according to abscence violations and additional reflection conditions # Sort the list according to abscence violations and additional reflection conditions
spaceGroupMatchList.sort(key=lambda x: (x[1].get(1, 0), x[1].get(-1, 0))) spaceGroupMatchList.sort(key=lambda x: (x[1].get(1, 0), x[1].get(-1, 0)))
......
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