[548210]: / tests / test_clinical.py

Download this file

15 lines (10 with data), 348 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
import os
import pytest
from openomics import ClinicalData
cohort_folder_path = "tests/data/TCGA_LUAD/"
@pytest.fixture
def generate_TCGA_clinical():
clinical = ClinicalData(
file=os.path.join(cohort_folder_path, "nationwidechildrens.org_clinical_patient_luad.txt"),
patient_index="bcr_patient_barcode")
return clinical