Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
funpack
Commits
1a404d0b
Commit
1a404d0b
authored
Jun 28, 2022
by
Paul McCarthy
🚵
Browse files
BF: Only return first cfgdir; inverted logic in row mask
parent
017d070b
Changes
2
Hide whitespace changes
Inline
Side-by-side
funpack/importing/filter.py
View file @
1a404d0b
...
...
@@ -372,7 +372,7 @@ def filterSubjects(data,
if
mask
is
None
:
mask
=
~
exclmask
else
:
mask
[
exclmask
]
=
0
if
mask
is
not
None
:
return
data
.
drop
(
data
.
index
[
mask
])
if
mask
is
not
None
:
return
data
.
drop
(
data
.
index
[
~
mask
])
else
:
return
data
...
...
funpack/util.py
View file @
1a404d0b
...
...
@@ -187,7 +187,7 @@ def findConfigDir(dirname='configs'):
be the location of the `funpack/configs/` directory as described in
:func:`findConfigDirs`.
"""
return
findConfigDirs
(
dirname
)
return
findConfigDirs
(
dirname
)
[
0
]
def
findConfigDirs
(
dirname
=
'configs'
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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