diff options
author | Aaron LI <aaronly.me@outlook.com> | 2017-05-17 09:47:57 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2017-05-17 09:47:57 +0800 |
commit | 4c86653bc2dea5a27acb796570112d775e17133e (patch) | |
tree | 9fa9a977a3008257a14ec3b47fda96823b1f1243 /fg21sim/galactic/synchrotron.py | |
parent | 3c07a41448ddce396ffb98e105fca4ae5d6a74ee (diff) | |
download | fg21sim-4c86653bc2dea5a27acb796570112d775e17133e.tar.bz2 |
configs : Drop "output/filetype"; only support FITS
Diffstat (limited to 'fg21sim/galactic/synchrotron.py')
-rw-r--r-- | fg21sim/galactic/synchrotron.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fg21sim/galactic/synchrotron.py b/fg21sim/galactic/synchrotron.py index 09eefd6..8efa2db 100644 --- a/fg21sim/galactic/synchrotron.py +++ b/fg21sim/galactic/synchrotron.py @@ -146,11 +146,6 @@ class Synchrotron: } data.update(kwargs) filename = self.filename_pattern.format(**data) - filetype = self.configs.getn("output/filetype") - if filetype == "fits": - filename += ".fits" - else: - raise NotImplementedError("unsupported filetype: %s" % filetype) filepath = os.path.join(self.output_dir, filename) return filepath |