Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
XRD
darfix
Commits
8207112f
Commit
8207112f
authored
Jun 07, 2021
by
Julia Garriga Ferrer
Browse files
[core][dataset] Fix typo
parent
db209a84
Changes
1
Hide whitespace changes
Inline
Side-by-side
darfix/core/dataset.py
View file @
8207112f
...
...
@@ -721,8 +721,8 @@ class Dataset():
return
new_data
=
Data
(
urls
,
self
.
running_data
.
metadata
,
self
.
_in_memory
)
if
self
.
transformation
:
transformation
=
[
apply_2D_ROI
(
axis
,
origin
,
size
,
center
)
for
axis
i
n
self
.
transformation
]
transformation
=
([
apply_2D_ROI
(
axis
,
origin
,
size
,
center
)
for
axis
in
self
.
transformation
]
i
f
self
.
transformation
else
None
)
if
indices
is
None
:
shape
=
list
(
self
.
data
.
shape
)[:
-
2
]
shape
.
append
(
new_data
.
shape
[
-
2
])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment