Skip to content

Commit

Permalink
🔥 remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry committed Jul 5, 2024
1 parent 2927d3f commit 202eb74
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/move/tasks/identify_associations.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,12 +653,6 @@ def _bayes_approach(
baseline_dataloader.dataset.con_all[0, :]
- dataloaders[i].dataset.con_all[0, :]
)
# Save diff as a file
# Extract the data and mask separately
data = diff.data # Extract the data from the masked array
mask = diff.mask # Extract the mask from the masked array
# Replace masked values with a placeholder (e.g., np.nan)
data[mask] = np.nan

bayes_mask[bayes_mask != 0] = 1
bayes_mask = np.array(bayes_mask, dtype=bool)
Expand Down

0 comments on commit 202eb74

Please sign in to comment.