Skip to content

Commit 2a7d692

Browse files
committed
Readers: remove species default of None
1 parent 8c18cdb commit 2a7d692

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/python/picongpu/plugins/energy_histogram.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def get_iterations(self, species, species_filter="all"):
100100
delimiter=" ",
101101
dtype=np.uint64).as_matrix()[:, 0]
102102

103-
def get(self, species=None, species_filter="all", iteration=None,
103+
def get(self, species, species_filter="all", iteration=None,
104104
include_overflow=False, **kwargs):
105105
"""
106106
Get a histogram.

lib/python/picongpu/plugins/phase_space.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def get_iterations(self, species, species_filter='all', ps=None):
188188

189189
return iterations
190190

191-
def get(self, species=None, species_filter='all', iteration=None, ps=None,
191+
def get(self, species, species_filter='all', iteration=None, ps=None,
192192
**kwargs):
193193
"""
194194
Get a phase space histogram.

lib/python/picongpu/plugins/png.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def get_iterations(self, species, species_filter='all', axis=None,
154154

155155
return sorted(iters)
156156

157-
def get(self, species=None, species_filter='all', iteration=None,
157+
def get(self, species, species_filter='all', iteration=None,
158158
axis=None, slice_point=None, **kwargs):
159159
"""
160160
Get an array representation of a PNG file.

0 commit comments

Comments
 (0)