Hi Wolfram,
I have two suggestions. First, my line numbers don't match yours for yt/data_objects/data_containers.py. This means that you're not on the latest development version of yt. I would first try updating to the latest development version:
$ cd $YT_HG
$ hg pull
$ hg up yt
$ python setup.py build_ext -i
and then try your script again. If the issue isn't fixed by updating, I would then try applying the following diff to the nyx frontend:
diff -r f936432ed45d yt/frontends/nyx/data_structures.py
--- a/yt/frontends/nyx/data_structures.py Tue Jul 30 10:08:24 2013 -0700
+++ b/yt/frontends/nyx/data_structures.py Tue Aug 06 08:10:25 2013 -0700
@@ -611,7 +611,7 @@
# aliases we need
self.parameters["TopGridRank"] = len(self.parameters["TopGridDimensions"]
self.dimensionality = self.parameters["TopGridRank"]
- self.domain_dimensions = self.parameters["TopGridDimensions"]
+ self.domain_dimensions = np.array(self.parameters["TopGridDimensions"])
self.refine_by = self.parameters.get("RefineBy", 2) # 2 is silent defaul
# Nyx is always cosmological.
Cheers,
Nathan