Skip to content

Commit 8018f8b

Browse files
committed
pinning polars-lts-cpu to the original version as polars pin. This is used in the drug generation as well, so we need to keep it this ver
1 parent c349fc6 commit 8018f8b

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

build/broad_sanger/05b_separate_datasets.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66

77
def main():
88

9+
print("ls:\n")
10+
files = os.listdir(".")
11+
print(files)
12+
print("\n")
13+
914
datasets_to_process = ["CCLE", "CTRPv2", "PRISM", "GDSCv1", "GDSCv2", "FIMM", "gCSI", "NCI60"]
1015
omics_datatypes = ["transcriptomics","proteomics", "copy_number","mutations"] # csv
1116
samples_datatypes = ["samples"] #csv
@@ -37,7 +42,7 @@ def main():
3742
exp_improve_drug_ids = exp["improve_drug_id"].unique().to_list()
3843

3944
#Ensure that the improve_sample_id column is in integer form.
40-
exp = exp.with_columns(pl.col("improve_sample_id").cast(pl.Float64).cast(pl.Int64))
45+
exp = exp.with_column(pl.col("improve_sample_id").cast(pl.Float64).cast(pl.Int64))
4146

4247
# Write Filtered Experiments File to TSV. Then delete it from memory.
4348
exp_filename_out = f"/tmp/{dataset}_experiments.tsv".lower()

build/broad_sanger/exp_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ scikit-learn
77
scipy
88
requests
99
openpyxl
10-
polars-lts-cpu
10+
polars-lts-cpu==0.19.17

build/broad_sanger/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ scikit-learn
77
scipy
88
requests
99
openpyxl
10-
polars-lts-cpu
10+
polars-lts-cpu==0.19.17
1111
mordredcommunity
1212
rdkit
1313
coderdata==0.1.40

0 commit comments

Comments
 (0)