Skip to content

Conversation

@ramosv
Copy link
Member

@ramosv ramosv commented May 17, 2025

I will be stacking another branch on top of this one. It can be reviewed for now but not merged

@ramosv ramosv self-assigned this May 17, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This release bumps the package version to 1.0.5, reorganizes dataset loading for the BRCA cohort, and cleans up deprecated tools and data artifacts.

  • Version and import updates for downstream tasks and utilities
  • Migration of tcga_brca loader to a consolidated “brca” loader with CSV part concatenation
  • Removal of the WGCNA R script, network loader module, and bundled CSV cluster files

Reviewed Changes

Copilot reviewed 116 out of 116 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
bioneuralnet/external_tools/WGCNA.R Removed legacy WGCNA R script
bioneuralnet/downstream_task/init.py Switched GraphEmbedding to SubjectRepresentation export
bioneuralnet/datasets/network_loader.py Deleted the now–unused NetworkLoader
bioneuralnet/datasets/init.py Removed NetworkLoader from package exports
bioneuralnet/datasets/dataset_loader.py Reworked loader to “brca” naming and concatenation of parts
bioneuralnet/init.py Version bump to 1.0.5 and bulk import reorganization
MANIFEST.in Added inclusion of new brca dataset files
CHANGELOG.md Updated changelog version header
Comments suppressed due to low confidence (3)

CHANGELOG.md:71

  • Typo in 'realease'; it should be spelled 'release'.
- **New realease**: A new release will include documentation for the other updates. (1.1.0)

bioneuralnet/init.py:79

  • The WGCNA R script was removed from external_tools, but it's still imported here. Please remove or replace this import.
from .external_tools import WGCNA

bioneuralnet/init.py:125

  • The NetworkLoader class is listed in __all__, but the module bioneuralnet/datasets/network_loader.py was removed. Please remove this export or reintroduce the loader.
"NetworkLoader",

Comment on lines 67 to 68
rna_part3 = pd.read_csv(folder / "rna_1.csv", index_col=0)
rna_part4 = pd.read_csv(folder / "rna_2.csv", index_col=0)
Copy link

Copilot AI May 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like rna_part3 and rna_part4 are both loading the same files (rna_1.csv and rna_2.csv again). They should reference rna_3.csv and rna_4.csv respectively.

Suggested change
rna_part3 = pd.read_csv(folder / "rna_1.csv", index_col=0)
rna_part4 = pd.read_csv(folder / "rna_2.csv", index_col=0)
rna_part3 = pd.read_csv(folder / "rna_3.csv", index_col=0)
rna_part4 = pd.read_csv(folder / "rna_4.csv", index_col=0)

Copilot uses AI. Check for mistakes.

recursive-include bioneuralnet/datasets/monet *.csv
recursive-include bioneuralnet/datasets/example1 *.csv
recursive-include bioneuralnet/datasets/brca *.csv
Copy link

Copilot AI May 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The brca dataset folder does not exist (the directory is named tcga_brca). Update this path to match the actual folder name or rename the folder.

Suggested change
recursive-include bioneuralnet/datasets/brca *.csv
recursive-include bioneuralnet/datasets/tcga_brca *.csv

Copilot uses AI. Check for mistakes.
Copy link
Collaborator

@abdelhafizm abdelhafizm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

Selected top 10k features by variance to reduce file size
@ramosv ramosv merged commit c75f245 into main May 18, 2025
2 of 8 checks passed
@ramosv ramosv deleted the documentation-update branch June 3, 2025 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants