Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
DM
dm-docs
Commits
c3a9e36a
Commit
c3a9e36a
authored
Jan 06, 2021
by
hammonds
Browse files
Merge branch 'data-directory-map-fix' into 'master'
Data Directory Map Fix See merge request DM/data-management!4
parents
94ea0b9d
0c62f56d
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/python/dm/aps_beamline_tools/gui/genParamsTab.py
View file @
c3a9e36a
...
...
@@ -82,7 +82,8 @@ class GenParamsTab(QWidget):
continue
original
=
entry
.
split
(
':'
)[
0
]
replacement
=
entry
.
split
(
':'
)[
1
]
dirPath
=
dirPath
.
replace
(
original
,
replacement
)
if
dirPath
.
startswith
(
original
):
dirPath
=
dirPath
.
replace
(
original
,
replacement
)
return
self
.
assembleUrl
(
scheme
,
host
,
port
,
dirPath
)
@
classmethod
...
...
src/python/dm/common/cli/dmCli.py
View file @
c3a9e36a
...
...
@@ -301,7 +301,8 @@ class DmCli(object):
continue
original
=
entry
.
split
(
':'
)[
0
]
replacement
=
entry
.
split
(
':'
)[
1
]
dirPath
=
dirPath
.
replace
(
original
,
replacement
)
if
dirPath
.
startswith
(
original
):
dirPath
=
dirPath
.
replace
(
original
,
replacement
)
return
self
.
assembleUrl
(
scheme
,
host
,
port
,
dirPath
)
@
classmethod
...
...
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