Skip to content

Commit 0e24e2c

Browse files
Update fslite/tests/generate_big_tests.py
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
1 parent 0ccd98d commit 0e24e2c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

fslite/tests/generate_big_tests.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@ def generate_large_test_dataset():
3636
chunk_labels = labels[chunk_start:chunk_end]
3737

3838
# Generate chunk of features
39-
chunk_features = {
40-
f"feature{i}": np.random.rand(chunk_end - chunk_start)
39+
# Generate chunk of features
40+
chunk_features = (
41+
(f"feature{i}", np.random.rand(chunk_end - chunk_start))
4142
for i in range(1, n_features + 1)
42-
}
43+
)
4344

4445
# Create DataFrame chunk
4546
chunk_data = {"sample_id": chunk_sample_ids, "label": chunk_labels}

0 commit comments

Comments
 (0)