Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
KADMOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LR-FPP-MDO
KADMOS
Commits
e6c486fe
Commit
e6c486fe
authored
6 years ago
by
imcovangent
Browse files
Options
Downloads
Patches
Plain Diff
Added fix for using glyphicons in VISTOMS except for tree viewer.
Former-commit-id: b3615e941a8e8b0f9ff0bbca52a8748ff30b26e7
parent
1ea7e30f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kadmos/graph/mixin_vistoms.py
+1
-2
1 addition, 2 deletions
kadmos/graph/mixin_vistoms.py
with
1 addition
and
2 deletions
kadmos/graph/mixin_vistoms.py
+
1
−
2
View file @
e6c486fe
...
@@ -45,7 +45,6 @@ LOCAL_FILE_REFS = dict(REP__Acknowledgements__REP=os.path.join(LOCAL_PATH_PICTUR
...
@@ -45,7 +45,6 @@ LOCAL_FILE_REFS = dict(REP__Acknowledgements__REP=os.path.join(LOCAL_PATH_PICTUR
REP__glyphicons_woff2__REP
=
os
.
path
.
join
(
LOCAL_PATH_PICTURES
,
"
glyphicons-halflings-regular.woff2
"
).
replace
(
'
\\
'
,
'
/
'
))
REP__glyphicons_woff2__REP
=
os
.
path
.
join
(
LOCAL_PATH_PICTURES
,
"
glyphicons-halflings-regular.woff2
"
).
replace
(
'
\\
'
,
'
/
'
))
class
VistomsMixin
(
object
):
class
VistomsMixin
(
object
):
def
vistoms_start
(
self
,
file_dir
=
None
,
mpg
=
None
):
def
vistoms_start
(
self
,
file_dir
=
None
,
mpg
=
None
):
...
@@ -1153,7 +1152,7 @@ def get_vistoms_tree_viewer(xml_file, vistoms_dir, use_png_figs=False, file_refs
...
@@ -1153,7 +1152,7 @@ def get_vistoms_tree_viewer(xml_file, vistoms_dir, use_png_figs=False, file_refs
else
:
else
:
rep
=
file_refs
rep
=
file_refs
for
key
,
item
in
LOCAL_FILE_REFS
.
iteritems
():
for
key
,
item
in
LOCAL_FILE_REFS
.
iteritems
():
assert
key
in
rep
,
'
Replacement key %s is missing in the file_refs.
'
%
key
assert
key
in
rep
or
'
glyphicons
'
in
key
,
'
Replacement key %s is missing in the file_refs.
'
%
key
rep
[
'
REP__GRAPH_DATA__REP
'
]
=
data_str
rep
[
'
REP__GRAPH_DATA__REP
'
]
=
data_str
# Perform the text replacement
# Perform the text replacement
...
...
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