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
caf6bbb6
Commit
caf6bbb6
authored
Jun 08, 2021
by
Julia Garriga Ferrer
Browse files
[core][dataset] Remove unused treated attribute
parent
6e5bb4e9
Pipeline
#48142
passed with stage
in 3 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
darfix/core/dataset.py
View file @
caf6bbb6
...
...
@@ -928,7 +928,7 @@ class Dataset():
:return: (H, W): The components matrix and the mixing matrix.
"""
bss_dir
=
self
.
dir
+
"/"
+
self
.
treated
+
"/bss/"
bss_dir
=
self
.
dir
+
"/bss/"
if
not
os
.
path
.
isdir
(
bss_dir
):
os
.
mkdir
(
bss_dir
)
if
self
.
_in_memory
:
...
...
@@ -980,7 +980,7 @@ class Dataset():
:return: (H, W): The components matrix and the mixing matrix.
"""
bss_dir
=
self
.
dir
+
"/"
+
self
.
treated
+
"/bss/"
bss_dir
=
self
.
dir
+
"/bss/"
if
not
os
.
path
.
isdir
(
bss_dir
):
os
.
mkdir
(
bss_dir
)
...
...
@@ -1021,7 +1021,7 @@ class Dataset():
:return: (H, W): The components matrix and the mixing matrix.
"""
bss_dir
=
self
.
dir
+
"/"
+
self
.
treated
+
"/bss/"
bss_dir
=
self
.
dir
+
"/bss/"
if
not
os
.
path
.
isdir
(
bss_dir
):
os
.
mkdir
(
bss_dir
)
...
...
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