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
AMIBIO
VARNA-api
Commits
410f9daa
Commit
410f9daa
authored
Feb 19, 2022
by
htyao
Browse files
Fix type error in cmd
parent
ecfa63c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/varnaapi/param.py
View file @
410f9daa
...
...
@@ -453,9 +453,9 @@ class _ColorMap:
if
self
.
caption
!=
""
:
cmd
+=
[
'-colorMapCaption'
,
self
.
caption
]
if
self
.
vMin
is
not
None
:
cmd
+=
[
'-colorMapMin'
,
self
.
vMin
]
cmd
+=
[
'-colorMapMin'
,
str
(
self
.
vMin
)
]
if
self
.
vMax
is
not
None
:
cmd
+=
[
'-colorMapMax'
,
self
.
vMax
]
cmd
+=
[
'-colorMapMax'
,
str
(
self
.
vMax
)
]
if
self
.
style
not
in
[
'energy'
,
''
]:
cmd
+=
[
'-colorMapStyle'
,
self
.
style
]
...
...
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