You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inputs to modules that use more than one input must either all be sources, or all be steps.
Steps must be either "initial" or not initial. Suggest adding a step type called mixed, and coding around that.
for step in steps:
if step['initial'] == True:
bix = [sourcenames.index(si) for si in step['inputs']]
d = data[bix,:,:,:]
else:
d = np.array([results[si] for si in step['inputs']])
if d.shape[0] == 1:
d = d.reshape(d.shape[1], nyr, npx)
print step['name'], d.shape,
results[step['name']] = step['function'](d, missing_out, step['params'])
if step.get('output', False):
OUTPUT[step['name']][:, :, istart:iend] = results[step['name']]
The text was updated successfully, but these errors were encountered:
Created by: rbraswell
Inputs to modules that use more than one input must either all be sources, or all be steps.
Steps must be either "initial" or not initial. Suggest adding a step type called mixed, and coding around that.
The text was updated successfully, but these errors were encountered: