diff options
Diffstat (limited to 'fg21sim/foregrounds.py')
-rw-r--r-- | fg21sim/foregrounds.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fg21sim/foregrounds.py b/fg21sim/foregrounds.py index c398394..85242c1 100644 --- a/fg21sim/foregrounds.py +++ b/fg21sim/foregrounds.py @@ -123,11 +123,6 @@ class Foregrounds: } 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 |