diff --git a/dstat_interface/experiments/experiment_template.py b/dstat_interface/experiments/experiment_template.py index a6fc97859ae103c593c49d9d1faf0d41b903006c..96888d4a78c884e59790df5b3bef1510fd4af632 100755 --- a/dstat_interface/experiments/experiment_template.py +++ b/dstat_interface/experiments/experiment_template.py @@ -295,7 +295,7 @@ class Experiment(object): """Return dict of strings with experiment parameters and data.""" buf = {} buf['params'] = self.get_info_text() - buf.update({exp : df.to_string() for exp, df in self.df.items()}) + buf.update({exp : df.to_csv(sep='\t') for exp, df in self.df.items()}) return buf diff --git a/dstat_interface/interface/save.py b/dstat_interface/interface/save.py index 515b4d97eb2d46e374f9c5963051f482a8a569da..8cba566db2fb9b0811e8ee83f23635fb431e05a2 100755 --- a/dstat_interface/interface/save.py +++ b/dstat_interface/interface/save.py @@ -42,7 +42,7 @@ def manSave(current_exp): Gtk.STOCK_SAVE, Gtk.ResponseType.OK)) filters = [Gtk.FileFilter()] - filters[0].set_name("Text (.txt)") + filters[0].set_name("Tab-separated Text (.txt)") filters[0].add_pattern("*.txt") fcd.set_do_overwrite_confirmation(True)