SmokinCaterpillar / pypet

The new python parameter exploration toolbox. pypet manages exploration of the parameter space and data storage into HDF5 files for you.
BSD 3-Clause "New" or "Revised" License
89 stars 22 forks source link

Trajectory.f_copy does not copy the exploration range #46

Closed maharjun closed 4 years ago

maharjun commented 7 years ago

From what I have observed, the default invocation of Trajectory.f_copy does not copy the exploration range of the parameters over to the new trajectory. This is again counterintuitive as a default call to a copy function should produce an identical object (irrespective of deepness of copy)

SmokinCaterpillar commented 7 years ago

Hmm that's odd, do you have an example.?

Looking into the code I see new_traj._run_information = self._run_information, so the range should be copied as well (i.e. that's just a reference and not a deep copy, but still).

SmokinCaterpillar commented 4 years ago

inactive