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
XNAT-Group
XNAT_Query_Client_XSA
Commits
6add98ef
Commit
6add98ef
authored
Mar 05, 2015
by
Franziska Koehn
Browse files
refactor
parent
0b8b0d3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
xsa/queries.py
View file @
6add98ef
...
...
@@ -170,8 +170,7 @@ def query_for_additional_data(rest, result, host, user, passw):
import
re
def
subfunc
(
f
):
key
=
f
.
group
(
0
).
strip
(
"{}"
)
r
=
result
[
key
]
return
r
return
result
[
key
]
ret
=
re
.
sub
(
'\{\w+\}'
,
subfunc
,
rest
)
central
=
get_xnat_server_connection
(
host
=
host
,
user
=
user
,
passw
=
passw
)
...
...
Write
Preview
Markdown
is supported
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