Arts-of-coding commited on
Commit
7554e69
·
1 Parent(s): 91a84e6

Update pages/Cornea_v1_integrated_scVI.py

Browse files
Files changed (1) hide show
  1. pages/Cornea_v1_integrated_scVI.py +8 -7
pages/Cornea_v1_integrated_scVI.py CHANGED
@@ -25,10 +25,10 @@ config_fig = {
25
  'scale': 1,
26
  }
27
  }
28
- from adlfs import AzureBlobFileSystem
29
- mountpount=os.environ['AZURE_MOUNT_POINT'],
30
- AZURE_STORAGE_ACCESS_KEY=os.getenv('AZURE_STORAGE_ACCESS_KEY')
31
- AZURE_STORAGE_ACCOUNT=os.getenv('AZURE_STORAGE_ACCOUNT')
32
 
33
  # Load in config file
34
  config_path = "./data/config.yaml"
@@ -48,12 +48,13 @@ col_mt = config.get("col_mt")
48
 
49
  #filepath = f"az://{path_parquet}"
50
 
51
- storage_options={'account_name': AZURE_STORAGE_ACCOUNT, 'account_key': AZURE_STORAGE_ACCESS_KEY}#,'anon': False}
52
  #azfs = AzureBlobFileSystem(**storage_options )
53
 
54
  # Load in multiple dataframes
55
- df = pl.scan_parquet(f"./data/{dataset}.parquet", storage_options=storage_options).collect()
56
-
 
57
  # Setup the app
58
  #external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css']
59
  #app = dash.Dash(__name__, use_pages=True) #, requests_pathname_prefix='/dashboard1/'
 
25
  'scale': 1,
26
  }
27
  }
28
+ #from adlfs import AzureBlobFileSystem
29
+ #mountpount=os.environ['AZURE_MOUNT_POINT'],
30
+ #AZURE_STORAGE_ACCESS_KEY=os.getenv('AZURE_STORAGE_ACCESS_KEY')
31
+ #AZURE_STORAGE_ACCOUNT=os.getenv('AZURE_STORAGE_ACCOUNT')
32
 
33
  # Load in config file
34
  config_path = "./data/config.yaml"
 
48
 
49
  #filepath = f"az://{path_parquet}"
50
 
51
+ #storage_options={'account_name': AZURE_STORAGE_ACCOUNT, 'account_key': AZURE_STORAGE_ACCESS_KEY}#,'anon': False}
52
  #azfs = AzureBlobFileSystem(**storage_options )
53
 
54
  # Load in multiple dataframes
55
+ df = pl.scan_parquet(f"./data/{dataset}.parquet") #, storage_options=storage_options
56
+ df.collect_schema()
57
+ df.collect()
58
  # Setup the app
59
  #external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css']
60
  #app = dash.Dash(__name__, use_pages=True) #, requests_pathname_prefix='/dashboard1/'