If we want to get crazy, the user can optionally choose (with a kwarg) for
there to be a timestamp in the file name.


On Sun, Jun 1, 2014 at 10:34 PM, Tarun Gaba <notifications@github.com>
wrote:

> In pydy/viz/scene.py:
>
> > @@ -290,17 +201,79 @@ def generate_visualization_json(self, dynamic_variables,
> >
> >
> >          """
> > -        self.saved_json_file = save_to
> > -        self._data_dict = self.generate_visualization_dict(dynamic_variables,
> > +
> > +        constant_map = dict(zip(constant_variables, constant_values))
> > +        self.scene_json_file = "scene_desc.json"
> > +        self.simulation_json_file = "simulation_data.json"
>
> I think 2. is good. since user-specified name + timestamp will need to
> long file names. If a user is specifying a name prefix, he will choose a
> name which he can recognize easily.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/pydy/pydy/pull/57/files#r13271678>.
>