diff --git a/bittensor/commands/root.py b/bittensor/commands/root.py index 3022e13f55..1fc7e12841 100644 --- a/bittensor/commands/root.py +++ b/bittensor/commands/root.py @@ -235,8 +235,8 @@ def run(cli): for matrix in weights: [uid, weights_data] = matrix - normalized_weights = ( - np.array(weights_data)[:, 1] / min(np.sum(weights_data, axis=0)[1], 1) + normalized_weights = np.array(weights_data)[:, 1] / min( + np.sum(weights_data, axis=0)[1], 1 ) for weight_data, normalized_weight in zip(weights_data, normalized_weights): [netuid, _] = weight_data