diff options
Diffstat (limited to 'fg21sim/galactic')
-rw-r--r-- | fg21sim/galactic/synchrotron.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/fg21sim/galactic/synchrotron.py b/fg21sim/galactic/synchrotron.py index 14b4065..d05292f 100644 --- a/fg21sim/galactic/synchrotron.py +++ b/fg21sim/galactic/synchrotron.py @@ -40,15 +40,14 @@ class Synchrotron: def _set_configs(self): """Load the configs and set the corresponding class attributes.""" - data_dir = self.configs.getn("common/data_dir") - self.template_path = os.path.join( - data_dir, self.configs.getn("galactic/synchrotron/template")) + self.template_path = self.configs.getn( + "galactic/synchrotron/template") self.template_freq = self.configs.getn( "galactic/synchrotron/template_freq") self.template_unit = au.Unit( self.configs.getn("galactic/synchrotron/template_unit")) - self.indexmap_path = os.path.join( - data_dir, self.configs.getn("galactic/synchrotron/indexmap")) + self.indexmap_path = self.configs.getn( + "galactic/synchrotron/indexmap") self.smallscales = self.configs.getn( "galactic/synchrotron/add_smallscales") # output |