Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
4672d8df
Commit
4672d8df
authored
Dec 04, 2015
by
eric pellegrini
Browse files
regression fixed when defining q vectors
parent
d92a449d
Changes
10
Hide whitespace changes
Inline
Side-by-side
MDANSE/Framework/QVectors/ApproximateDispersionLatticeQVectors.py
View file @
4672d8df
...
...
@@ -73,7 +73,7 @@ class ApproximatedDispersionQVectors(LatticeQVectors):
if
self
.
_status
is
not
None
:
self
.
_status
.
start
(
len
(
qGroups
))
self
.
_configuration
[
"q_vectors"
]
=
{}
self
.
_configuration
[
"q_vectors"
]
=
collections
.
OrderedDict
()
for
k
,
v
in
qGroups
.
iteritems
():
...
...
MDANSE/Framework/QVectors/CircularLatticeQVectors.py
View file @
4672d8df
...
...
@@ -82,7 +82,7 @@ class CircularLatticeQVectors(LatticeQVectors):
if
self
.
_status
is
not
None
:
self
.
_status
.
start
(
self
.
_configuration
[
"shells"
][
'number'
])
self
.
_configuration
[
"q_vectors"
]
=
{}
self
.
_configuration
[
"q_vectors"
]
=
collections
.
OrderedDict
()
for
q
in
self
.
_configuration
[
"shells"
][
"value"
]:
...
...
MDANSE/Framework/QVectors/CircularQVectors.py
View file @
4672d8df
...
...
@@ -68,7 +68,7 @@ class CircularQVectors(IQVectors):
if
self
.
_status
is
not
None
:
self
.
_status
.
start
(
self
.
_configuration
[
"shells"
][
'number'
])
self
.
_configuration
[
"q_vectors"
]
=
{}
self
.
_configuration
[
"q_vectors"
]
=
collections
.
OrderedDict
()
for
q
in
self
.
_configuration
[
"shells"
][
"value"
]:
...
...
MDANSE/Framework/QVectors/DispersionLatticeQVectors.py
View file @
4672d8df
...
...
@@ -63,7 +63,7 @@ class DispersionLatticeQVectors(LatticeQVectors):
if
self
.
_status
is
not
None
:
self
.
_status
.
start
(
len
(
dists
))
self
.
_configuration
[
"q_vectors"
]
=
{}
self
.
_configuration
[
"q_vectors"
]
=
collections
.
OrderedDict
()
for
i
,
v
in
enumerate
(
dists
):
...
...
MDANSE/Framework/QVectors/GridQVectors.py
View file @
4672d8df
...
...
@@ -85,7 +85,7 @@ class GridLatticeQVectors(LatticeQVectors):
if
self
.
_status
is
not
None
:
self
.
_status
.
start
(
len
(
qGroups
))
self
.
_configuration
[
"q_vectors"
]
=
{}
self
.
_configuration
[
"q_vectors"
]
=
collections
.
OrderedDict
()
for
q
,
v
in
qGroups
.
iteritems
():
...
...
MDANSE/Framework/QVectors/LinearLatticeQVectors.py
View file @
4672d8df
...
...
@@ -78,7 +78,7 @@ class LinearLatticeQVectors(LatticeQVectors):
if
self
.
_status
is
not
None
:
self
.
_status
.
start
(
self
.
_configuration
[
"shells"
][
'number'
])
self
.
_configuration
[
"q_vectors"
]
=
{}
self
.
_configuration
[
"q_vectors"
]
=
collections
.
OrderedDict
()
for
q
in
self
.
_configuration
[
"shells"
][
"value"
]:
...
...
MDANSE/Framework/QVectors/LinearQVectors.py
View file @
4672d8df
...
...
@@ -63,7 +63,7 @@ class LinearQVectors(IQVectors):
if
self
.
_status
is
not
None
:
self
.
_status
.
start
(
self
.
_configuration
[
"shells"
][
'number'
])
self
.
_configuration
[
"q_vectors"
]
=
{}
self
.
_configuration
[
"q_vectors"
]
=
collections
.
OrderedDict
()
for
q
in
self
.
_configuration
[
"shells"
][
"value"
]:
...
...
MDANSE/Framework/QVectors/MillerIndicesQVectors.py
View file @
4672d8df
...
...
@@ -69,7 +69,7 @@ class MillerIndicesLatticeQVectors(LatticeQVectors):
if
self
.
_status
is
not
None
:
self
.
_status
.
start
(
len
(
self
.
_configuration
[
"shells"
][
"value"
]))
self
.
_configuration
[
"q_vectors"
]
=
{}
self
.
_configuration
[
"q_vectors"
]
=
collections
.
OrderedDict
()
for
q
in
self
.
_configuration
[
"shells"
][
"value"
]:
...
...
MDANSE/Framework/QVectors/SphericalLatticeQVectors.py
View file @
4672d8df
...
...
@@ -74,7 +74,7 @@ class SphericalLatticeQVectors(LatticeQVectors):
if
self
.
_status
is
not
None
:
self
.
_status
.
start
(
self
.
_configuration
[
"shells"
][
'number'
])
self
.
_configuration
[
"q_vectors"
]
=
{}
self
.
_configuration
[
"q_vectors"
]
=
collections
.
OrderedDict
()
for
q
in
self
.
_configuration
[
"shells"
][
"value"
]:
...
...
MDANSE/Framework/QVectors/SphericalQVectors.py
View file @
4672d8df
...
...
@@ -58,7 +58,7 @@ class SphericalQVectors(IQVectors):
nVectors
=
self
.
_configuration
[
"n_vectors"
][
"value"
]
self
.
_configuration
[
"q_vectors"
]
=
{}
self
.
_configuration
[
"q_vectors"
]
=
collections
.
OrderedDict
()
if
self
.
_status
is
not
None
:
self
.
_status
.
start
(
len
(
self
.
_configuration
[
"shells"
][
"value"
]))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment