aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/galactic/freefree.py
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/galactic/freefree.py')
-rw-r--r--fg21sim/galactic/freefree.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/fg21sim/galactic/freefree.py b/fg21sim/galactic/freefree.py
index 878a833..44bd9d5 100644
--- a/fg21sim/galactic/freefree.py
+++ b/fg21sim/galactic/freefree.py
@@ -184,11 +184,6 @@ class FreeFree:
}
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