Skip to content

Commit

Permalink
Whole repo formatted using black
Browse files Browse the repository at this point in the history
  • Loading branch information
mpielies committed Aug 8, 2024
1 parent feefc76 commit 8d0587a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/move/tasks/encode_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def encode_data(config: DataConfig):
fig.savefig(fig_path)

if scale:
logger.debug(f"Scaling dataset: {dataset_name}, log2 transform: {input_config.log2}")
logger.debug(
f"Scaling dataset: {dataset_name}, log2 transform: {input_config.log2}"
)
values, mask_1d = preprocessing.scale(values, input_config.log2)
names = names[mask_1d]
logger.debug(f"Columns with zero variance: {np.sum(~mask_1d)}")
Expand Down

0 comments on commit 8d0587a

Please sign in to comment.