Commit
·
64541c9
1
Parent(s):
827c802
fix
Browse files
multi_omics_transcript_expression.py
CHANGED
|
@@ -298,7 +298,7 @@ class TranscriptExpressionHandler(GenomicLRATaskHandler):
|
|
| 298 |
length and standardized before returning.
|
| 299 |
"""
|
| 300 |
df = pd.read_csv(self.df_csv_file)
|
| 301 |
-
df = df.loc[df["chr"]!= "chrMT"]
|
| 302 |
labels_name = LABELS_V1
|
| 303 |
|
| 304 |
split_df = df.loc[df["split"] == split]
|
|
@@ -326,10 +326,7 @@ class TranscriptExpressionHandler(GenomicLRATaskHandler):
|
|
| 326 |
"Protein": coordinates_row["Protein"],
|
| 327 |
}
|
| 328 |
key += 1
|
| 329 |
-
logger.info(
|
| 330 |
-
f"filtering out {len(split_df)-key} "
|
| 331 |
-
f"elements from the dataset"
|
| 332 |
-
)
|
| 333 |
|
| 334 |
|
| 335 |
"""
|
|
|
|
| 298 |
length and standardized before returning.
|
| 299 |
"""
|
| 300 |
df = pd.read_csv(self.df_csv_file)
|
| 301 |
+
df = df.loc[df["chr"] != "chrMT"]
|
| 302 |
labels_name = LABELS_V1
|
| 303 |
|
| 304 |
split_df = df.loc[df["split"] == split]
|
|
|
|
| 326 |
"Protein": coordinates_row["Protein"],
|
| 327 |
}
|
| 328 |
key += 1
|
| 329 |
+
logger.info(f"filtering out {len(split_df)-key} " f"elements from the dataset")
|
|
|
|
|
|
|
|
|
|
| 330 |
|
| 331 |
|
| 332 |
"""
|