Ax icon indicating copy to clipboard operation
Ax copied to clipboard

Implement Data/MapData.clone and use it in Experiment.clone_with

Open saitcakmak opened this issue 6 months ago • 2 comments

Summary: Prior to this change, the data attached to the cloned experiment would retain the _db_id of the original. When the clone experiment is saved, this would lead to overwriting the DB entry to point to the clone experiment, effectively deleting the data attached to the original experiment.

This diff implements clone methods for Data and MapData, and uses it in Experiment.clone_with to avoid this issue.

Differential Revision: D61715842

saitcakmak avatar Aug 23 '24 20:08 saitcakmak