diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-10-18 15:47:07 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-18 15:47:07 +0800 |
commit | 00597e44e68bebd74a2a7b838d0fa6dcf7511fc2 (patch) | |
tree | d4f9ef16b31ec10354087193fa6a04ded36a6857 /fg21sim/galactic/freefree.py | |
parent | 653d5fcad7259e93d97146613e2ecd31b1f7f80d (diff) | |
download | fg21sim-00597e44e68bebd74a2a7b838d0fa6dcf7511fc2.tar.bz2 |
galactic/{freefree,synchrotron}.py: Fix small bugs
* freefree.py: Add the missing "/" to the config "halphamap"
* synchrotron.py: Fix "comp" to have the correct value
Diffstat (limited to 'fg21sim/galactic/freefree.py')
-rw-r--r-- | fg21sim/galactic/freefree.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fg21sim/galactic/freefree.py b/fg21sim/galactic/freefree.py index 2c34374..2023798 100644 --- a/fg21sim/galactic/freefree.py +++ b/fg21sim/galactic/freefree.py @@ -70,7 +70,7 @@ class FreeFree: def _set_configs(self): """Load the configs and set the corresponding class attributes.""" comp = "galactic/freefree" - self.halphamap_path = self.configs.get_path(comp+"halphamap") + self.halphamap_path = self.configs.get_path(comp+"/halphamap") self.halphamap_unit = au.Unit( self.configs.getn(comp+"/halphamap_unit")) self.dustmap_path = self.configs.get_path(comp+"/dustmap") |