/[escript]/trunk/weipa/py_src/__init__.py
ViewVC logotype

Diff of /trunk/weipa/py_src/__init__.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3370 by caltinay, Thu Nov 18 05:51:44 2010 UTC revision 3371 by caltinay, Mon Nov 22 06:13:47 2010 UTC
# Line 55  def createDataset(domain=None, **data): Line 55  def createDataset(domain=None, **data):
55      dataset=EscriptDataset()      dataset=EscriptDataset()
56      domain,new_data=interpolateEscriptData(domain, data)      domain,new_data=interpolateEscriptData(domain, data)
57      dataset.setDomain(domain)      dataset.setDomain(domain)
58      for n,d in new_data.items():      for n,d in sorted(new_data.iteritems()):
59          #TODO: data units are not supported here yet          #TODO: data units are not supported here yet
60          dataset.addData(d, n, "")          dataset.addData(d, n, "")
61      return dataset      return dataset

Legend:
Removed from v.3370  
changed lines
  Added in v.3371

  ViewVC Help
Powered by ViewVC 1.1.26