We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd42f7f commit 0bf7044Copy full SHA for 0bf7044
1 file changed
shearnet/cli/evaluate.py
@@ -80,7 +80,7 @@ def load_config(args):
80
'galaxy_type': config.get('model.galaxy.type', 'research_backed'),
81
'psf_type': config.get('model.psf.type', 'forklens_psf'),
82
'n_outputs': config.get('model.n_outputs', 2),
83
- 'mcal': args.mcal or config.get('comparison.ngmix', False),
+ 'mcal': args.mcal,
84
'plot': args.plot or config.get('plotting.plot', False),
85
'psf_model': config.get('comparison.psf_model', 'gauss'),
86
'gal_model': config.get('comparison.gal_model', config.get('dataset.type', 'gauss')),
@@ -223,7 +223,7 @@ def run_ngmix(obs, labels, config):
223
224
prior = _get_priors(config['seed'])
225
rng = np.random.RandomState(config['seed'])
226
- datalist = mp_fit_one(
+ datalist, _ = mp_fit_one(
227
obs, prior, rng,
228
psf_model=config['psf_model'],
229
gal_model=config['gal_model'],
@@ -291,4 +291,4 @@ def main():
291
292
293
if __name__ == '__main__':
294
- main()
+ main()
0 commit comments