fusion-flap / flap

Fusion Library of Analysis Programs
MIT License
11 stars 5 forks source link

Modified or not modified original data object #75

Closed thelampire closed 4 years ago

thelampire commented 4 years ago

For some reason I thought that e.g. flap.slice_data or flap.filter_data would modify the data of the original data_object if there is no output name given. I guess then it doesn't do anything if it is not assigned to any variable. Is this correct?

sandorzoletnik commented 4 years ago

Yes, this is correct. Originally the input data object was modified, but this was not intuitive I think, therefore I removed. If you want the original data to be modified you have to specify the same name for output_name