Showing 1 of 2 files from the diff.
Other files ignored by Codecov

@@ -141,6 +141,10 @@
Loading
141 141
            kwargs = self.fixed_parameters.copy()
142 142
            all_kwargs.append(kwargs)
143 143
            all_param_values.append(kwargs.values())
144 +
        else:
145 +
            count = 1
146 +
            all_kwargs.append({})
147 +
            all_param_values.append([])
144 148
145 149
        total_iterations *= count
146 150
@@ -253,10 +257,14 @@
Loading
253 257
# This is kind of a useless class, but it does carry the 'source' parameters with it
254 258
class ParameterProduct:
255 259
    def __init__(self, variable_parameters):
256 -
        self.param_names, self.param_lists = zip(
257 -
            *(copy.deepcopy(variable_parameters)).items()
258 -
        )
259 -
        self._product = product(*self.param_lists)
260 +
        if variable_parameters:
261 +
            self.param_names, self.param_lists = zip(
262 +
                *(copy.deepcopy(variable_parameters)).items()
263 +
            )
264 +
            self._product = product(*self.param_lists)
265 +
        else:
266 +
            self.param_names, self.param_lists = (), ()
267 +
            self._product = iter([])
260 268
261 269
    def __iter__(self):
262 270
        return self
Files Coverage
mesa 86.78%
Project Totals (20 files) 86.78%
1783.4
TRAVIS_PYTHON_VERSION=3.8
TRAVIS_OS_NAME=linux

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading