Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
d4e0b084
Commit
d4e0b084
authored
Feb 01, 2016
by
eric pellegrini
Browse files
Added carriage return to the information string
parent
128288a0
Changes
3
Hide whitespace changes
Inline
Side-by-side
MDANSE/Framework/Configurators/AtomSelectionConfigurator.py
View file @
d4e0b084
...
...
@@ -149,11 +149,11 @@ class AtomSelectionConfigurator(IConfigurator):
:rtype: str
'''
if
not
self
.
has_key
(
"
n_
select
ed_atoms
"
):
return
"No configured yet"
if
not
self
.
has_key
(
"select
ion_length
"
):
return
"No
t
configured yet
\n
"
info
=
[]
info
.
append
(
"Number of selected atoms:%d"
%
self
[
"
n_
select
ed_atoms
"
])
info
.
append
(
"Selected elements:%s"
%
self
[
"
contents"
].
keys
()
)
info
.
append
(
"Number of selected atoms:%d"
%
self
[
"select
ion_length
"
])
info
.
append
(
"Selected elements:%s"
%
self
[
"
unique_names"
]
)
return
"
\n
"
.
join
(
info
)
\ No newline at end of file
MDANSE/Framework/Configurators/FramesConfigurator.py
View file @
d4e0b084
...
...
@@ -94,5 +94,5 @@ class FramesConfigurator(RangeConfigurator):
:rtype: str
'''
return
"%d frames selected (first=%.3f ; last = %.3f ; time step = %.3f)"
%
\
return
"%d frames selected (first=%.3f ; last = %.3f ; time step = %.3f)
\n
"
%
\
(
self
[
"n_frames"
],
self
[
"time"
][
0
],
self
[
"time"
][
-
1
],
self
[
"time_step"
])
\ No newline at end of file
MDANSE/Framework/Configurators/ProjectionConfigurator.py
View file @
d4e0b084
...
...
@@ -86,4 +86,7 @@ class ProjectionConfigurator(IConfigurator):
:rtype: str
'''
return
"Projection along %r axis:"
%
self
[
"axis"
]
\ No newline at end of file
if
self
[
"axis"
]
is
not
None
:
return
"No projection performed
\n
"
else
:
return
"Projection along %r axis
\n
"
%
self
[
"axis"
]
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