diff --git a/src/python/clawutil/data.py b/src/python/clawutil/data.py index 15f66083..27c9d634 100644 --- a/src/python/clawutil/data.py +++ b/src/python/clawutil/data.py @@ -560,7 +560,12 @@ def write(self, out_file='claw.data', data_source='setrun.py'): raise AttributeError("Unrecognized transverse_waves: %s" \ % self.transverse_waves) else: # 3D - # Add textual names later + if self.transverse_waves in [0,'none']: + self.transverse_waves = 0 + elif self.transverse_waves in [1,'increment']: + self.transverse_waves = 11 + elif self.transverse_waves in [2,'all']: + self.transverse_waves = 22 if not (self.transverse_waves in [0, 10, 11, 20, 21, 22]): raise AttributeError("Unrecognized transverse_waves: %s" \ % self.transverse_waves)