Skip to content

Commit

Permalink
extra deepcopy
Browse files Browse the repository at this point in the history
  • Loading branch information
frheault committed Oct 11, 2023
1 parent 390b281 commit adfb200
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions trx/trx_file_memmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -1721,11 +1721,11 @@ def to_sft(self, resize=False):
if resize:
self.resize()
sft = StatefulTractogram(
self.streamlines,
deepcopy(self.streamlines),
space_attributes,
Space.RASMM,
data_per_point=self.data_per_vertex,
data_per_streamline=self.data_per_streamline,
data_per_point=deepcopy(self.data_per_vertex),
data_per_streamline=deepcopy(self.data_per_streamline),
)
tmp_dict = self.get_dtype_dict()
if 'dpv' in tmp_dict:
Expand Down

0 comments on commit adfb200

Please sign in to comment.