Commit 4672d8df authored by eric pellegrini's avatar eric pellegrini
Browse files

regression fixed when defining q vectors

parent d92a449d
......@@ -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():
......
......@@ -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"]:
......
......@@ -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"]:
......
......@@ -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):
......
......@@ -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():
......
......@@ -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"]:
......
......@@ -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"]:
......
......@@ -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"]:
......
......@@ -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"]:
......
......@@ -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"]))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment