Arts-of-coding commited on
Commit
1cfc9ec
1 Parent(s): 33272b7

Update dash_plotly_QC_scRNA.py

Browse files
Files changed (1) hide show
  1. dash_plotly_QC_scRNA.py +16 -0
dash_plotly_QC_scRNA.py CHANGED
@@ -34,6 +34,22 @@ storage_options={'account_name': AZURE_STORAGE_ACCOUNT, 'account_key': AZURE_STO
34
  df = pl.read_parquet(filepath,storage_options=storage_options)
35
  #abfs = AzureBlobFileSystem(account_name=accountname,account_key=accountkey)
36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  #df = df.rename({"__index_level_0__": "Unnamed: 0"})
38
 
39
  # Setup the app
 
34
  df = pl.read_parquet(filepath,storage_options=storage_options)
35
  #abfs = AzureBlobFileSystem(account_name=accountname,account_key=accountkey)
36
 
37
+ # Load in config file
38
+ config_path = "./data/config.yaml"
39
+
40
+ # Add the read-in data from the yaml file
41
+ def read_config(filename):
42
+ with open(filename, 'r') as yaml_file:
43
+ config = yaml.safe_load(yaml_file)
44
+ return config
45
+
46
+ config = read_config(config_path)
47
+ #path_parquet = config.get("path_parquet")
48
+ conditions = config.get("conditions")
49
+ col_features = config.get("col_features")
50
+ col_counts = config.get("col_counts")
51
+ col_mt = config.get("col_mt")
52
+
53
  #df = df.rename({"__index_level_0__": "Unnamed: 0"})
54
 
55
  # Setup the app