Skip to content

Commit 0a964f7

Browse files
committed
🐛 Restore header to censors.tsv
1 parent 26d468d commit 0a964f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CPAC/nuisance/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def find_offending_time_points(
139139
censor_vector[extended_censors] = 0
140140

141141
out_file_path = os.path.join(os.getcwd(), "censors.tsv")
142-
np.savetxt(out_file_path, censor_vector, fmt="%d", comments="")
142+
np.savetxt(out_file_path, censor_vector, fmt="%d", header="censor", comments="")
143143

144144
return out_file_path
145145

0 commit comments

Comments
 (0)