Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
fslpy
Commits
412dba34
Commit
412dba34
authored
6 years ago
by
Martin Craig
Browse files
Options
Downloads
Patches
Plain Diff
OOPS: Accidentally committed incomplete merge
parent
6b10281d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
fsl/wrappers/wrapperutils.py
+0
-21
0 additions, 21 deletions
fsl/wrappers/wrapperutils.py
with
0 additions
and
21 deletions
fsl/wrappers/wrapperutils.py
+
0
−
21
View file @
412dba34
...
...
@@ -624,21 +624,6 @@ class _FileOrThing(object):
setattr
(
wrapped
,
'
_fot_prefixes
'
,
prefixes
)
# Call the function
<<<<<<<
HEAD
result
=
func
(
*
args
,
**
kwargs
)
# make a _Reults object to store
# the output. If we are decorating
# another _FileOrThing, the
# results will get merged together
# into a single _Results dict.
if
not
isinstance
(
result
,
_FileOrThing
.
_Results
):
result
=
_FileOrThing
.
_Results
(
result
)
# Load the LOADed outputs
for
oname
,
ofile
in
outfiles
.
items
():
if
op
.
exists
(
ofile
):
result
[
oname
]
=
self
.
__load
(
ofile
)
=======
try
:
result
=
func
(
*
args
,
**
kwargs
)
...
...
@@ -650,7 +635,6 @@ class _FileOrThing(object):
delattr
(
wrapped
,
'
_fot_workdir
'
)
delattr
(
wrapped
,
'
_fot_outprefix
'
)
delattr
(
wrapped
,
'
_fot_prefixes
'
)
>>>>>>>
enh
/
wrappers
return
self
.
__generateResult
(
td
,
result
,
outprefix
,
outfiles
,
prefixes
)
...
...
@@ -766,12 +750,7 @@ class _FileOrThing(object):
isprefixed
=
(
prefix
is
not
None
and
name
.
startswith
(
prefix
))
<<<<<<<
HEAD
if
val
is
None
:
allargs
.
pop
(
name
,
None
)
=======
if
not
(
isprefixed
or
name
in
things
):
>>>>>>>
enh
/
wrappers
continue
# Prefixed output files may only
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment