Commit d4e0b084 authored by eric pellegrini's avatar eric pellegrini

Added carriage return to the information string

parent 128288a0
......@@ -149,11 +149,11 @@ class AtomSelectionConfigurator(IConfigurator):
:rtype: str
'''
if not self.has_key("n_selected_atoms"):
return "No configured yet"
if not self.has_key("selection_length"):
return "Not configured yet\n"
info = []
info.append("Number of selected atoms:%d" % self["n_selected_atoms"])
info.append("Selected elements:%s" % self["contents"].keys())
info.append("Number of selected atoms:%d" % self["selection_length"])
info.append("Selected elements:%s" % self["unique_names"])
return "\n".join(info)
\ No newline at end of file
......@@ -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
......@@ -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"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment