Skip to content
Snippets Groups Projects
Commit 63d7135c authored by Yngve Levinsen's avatar Yngve Levinsen
Browse files

minor edits

parent 6d679af4
No related branches found
No related tags found
No related merge requests found
Pipeline #91047 passed
......@@ -400,7 +400,7 @@ class plt:
ret = {}
# if want to EXCLUDE lost particles (default):
if self.flag_remove_loss == True:
if self.flag_remove_loss:
lost_mask = self._data[i]["l"] == 0
for para in self._data[i]:
if isinstance(self._data[i][para], numpy.ndarray):
......@@ -416,7 +416,7 @@ class plt:
return ret
else:
print("No data to plot at element", key)
print(f"No data available for element {key}")
def calc_s(self):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment