Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
d85c6a67
Commit
d85c6a67
authored
9 years ago
by
Michael Wedel
Browse files
Options
Downloads
Patches
Plain Diff
Refs #12780. Forgot to remove debug statements.
parent
08bca9af
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Code/Mantid/docs/source/concepts/PointAndSpaceGroups.rst
+0
-2
0 additions, 2 deletions
Code/Mantid/docs/source/concepts/PointAndSpaceGroups.rst
with
0 additions
and
2 deletions
Code/Mantid/docs/source/concepts/PointAndSpaceGroups.rst
+
0
−
2
View file @
d85c6a67
...
@@ -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)))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment