diff options
| author | shivesh <s.p.mandalia@qmul.ac.uk> | 2018-05-26 10:50:03 -0500 |
|---|---|---|
| committer | shivesh <s.p.mandalia@qmul.ac.uk> | 2018-05-26 10:50:03 -0500 |
| commit | 639686cde9e43b4ad18f9b56960da3f5e8c697dd (patch) | |
| tree | 45c7d9b7e98ea0094aa169604dacd72ae89ed867 /utils/gf.py | |
| parent | f6645a19974f87166460a9baceade6817212a319 (diff) | |
| download | GolemFlavor-639686cde9e43b4ad18f9b56960da3f5e8c697dd.tar.gz GolemFlavor-639686cde9e43b4ad18f9b56960da3f5e8c697dd.zip | |
Sat May 26 10:50:03 CDT 2018
Diffstat (limited to 'utils/gf.py')
| -rw-r--r-- | utils/gf.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/gf.py b/utils/gf.py index 59b575e..02231f0 100644 --- a/utils/gf.py +++ b/utils/gf.py @@ -95,7 +95,8 @@ def setup_fitter(args, asimov_paramset): if args.data is DataType.ASIMOV: setup_asimov(fitter, asimov_paramset) elif args.data is DataType.REALISATION: - setup_realisation(fitter, asimov_paramset, args.seed) + seed = args.seed if args.seed is not None else 0 + setup_realisation(fitter, asimov_paramset, seed) elif args.data is DataType.REAL: print 'Using MagicTau DATA' return fitter |
