sweverett / Balrog-GalSim

Modules for GalSim that will be useful for DES images in conjunction with Balrog.
MIT License
5 stars 5 forks source link

`meds_catalog` registered for config processing but not main run #67

Open sweverett opened 5 years ago

sweverett commented 5 years ago

As the title says, config processing for meds_catalog works correctly with the new gen-inputs structure but still seems to fail for the main GalSim run:

Running GalSim for tile...
Using config file /home/spencer/research/balrog/Balrog-GalSim/tests/grid/configs/bal_config_0_DES0347-5540.yaml
Warning: config dict contains the following unexpected fields: ['some_variables'].
These fields are not (directly) processed by the config processing.
Traceback (most recent call last):
  File "/usr/local/bin/galsim", line 275, in <module>
    main()
  File "/usr/local/bin/galsim", line 256, in main
    except_abort=args.except_abort)
  File "/usr/local/anaconda2/lib/python2.7/site-packages/galsim/config/process.py", line 780, in Process
    except_abort=except_abort)
  File "/usr/local/anaconda2/lib/python2.7/site-packages/galsim/config/output.py", line 58, in BuildFiles
    galsim.config.ProcessInput(config, logger=logger, safe_only=True)
  File "/usr/local/anaconda2/lib/python2.7/site-packages/galsim/config/input.py", line 201, in ProcessInput
    galsim.config.CheckAllParams(config['input'], ignore=valid_keys)
  File "/usr/local/anaconda2/lib/python2.7/site-packages/galsim/config/value.py", line 327, in CheckAllParams
    raise AttributeError("Unexpected attribute %s found"%(key))
AttributeError: Unexpected attribute meds_catalog found