Changeset ee8f734 in sasmodels
- Timestamp:
- Apr 6, 2016 5:52:02 PM (9 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 541e7c9
- Parents:
- 398aa94
- Location:
- sasmodels
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/compare_many.py
rce346b6 ree8f734 20 20 21 21 from . import core 22 from . import generate23 22 from .compare import (MODELS, randomize_pars, suppress_pd, make_data, 24 23 make_engine, get_pars, columnize, … … 125 124 try: 126 125 result = fn(**pars) 127 except KeyboardInterrupt: 128 raise 129 except: 126 except Exception: 130 127 traceback.print_exc() 131 128 print("when comparing %s for %d"%(name, seed)) … … 246 243 base = sys.argv[5] 247 244 comp = sys.argv[6] if len(sys.argv) > 6 else "sasview" 248 except :245 except Exception: 249 246 traceback.print_exc() 250 247 print_usage() -
sasmodels/core.py
rd2bb604 ree8f734 24 24 from . import kernelcl 25 25 HAVE_OPENCL = True 26 except :26 except Exception: 27 27 HAVE_OPENCL = False 28 28 … … 64 64 """ 65 65 try: s + '' 66 except : return False66 except Exception: return False 67 67 return True 68 68 -
sasmodels/data.py
rd6f5da6 ree8f734 358 358 try: 359 359 return fn(*args, **kw) 360 except KeyboardInterrupt: 361 raise 362 except: 360 except Exception: 363 361 traceback.print_exc() 364 362 -
sasmodels/direct_model.py
r68e7f9d ree8f734 241 241 try: 242 242 values = [float(v) for v in call.split(',')] 243 except :243 except Exception: 244 244 values = [] 245 245 if len(values) == 1: -
sasmodels/modelinfo.py
r21b116f ree8f734 57 57 if low >= high: 58 58 raise ValueError("require low < high") 59 except :59 except Exception: 60 60 raise ValueError("invalid limits %s for %s"%(limits, name)) 61 61 … … 95 95 length = int(ref) 96 96 control = None 97 except :97 except Exception: 98 98 length = None 99 99 control = ref -
sasmodels/sasview_model.py
rd2bb604 ree8f734 39 39 try: 40 40 models.append(_make_standard_model(name)) 41 except :41 except Exception: 42 42 logging.error(traceback.format_exc()) 43 43 return models
Note: See TracChangeset
for help on using the changeset viewer.