Changeset 1502
- Timestamp:
- Sep 18, 2014 11:18:32 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIgrid.py
r1501 r1502 340 340 elif self.type is float: 341 341 try: 342 float(val)342 val = float(val) # convert strings, if needed 343 343 except: 344 344 if self.CIFinput and (val == '?' or val == '.'): -
trunk/GSASIImapvars.py
r1496 r1502 526 526 527 527 :param list varyList: a list of parameters names (strings of form 528 ``<ph>:<hst>:<nam>``) that will be varied 528 ``<ph>:<hst>:<nam>``) that will be varied. Note that this is changed here. 529 529 530 530 :param dict constrDict: a list of dicts defining relationships/constraints … … 794 794 var,mult = var 795 795 else: 796 raise Exception , "Cannot parse "+repr(var) + " as var or (var,multiplier)"796 raise Exception("Cannot parse "+repr(var) + " as var or (var,multiplier)") 797 797 mapList.append(var) 798 798 multlist.append(tuple((mult,)))
Note: See TracChangeset
for help on using the changeset viewer.