Spaces:
Sleeping
Sleeping
Commit
·
8206bc7
1
Parent(s):
64d9ce3
update
Browse files- app.py +1 -1
- app_utils.py +1 -1
app.py
CHANGED
@@ -366,7 +366,7 @@ with gr.Blocks() as demo:
|
|
366 |
yield {desc_md : gr.Markdown("Mapping...", visible=True)}
|
367 |
|
368 |
# match the names
|
369 |
-
stage1_info, channel_info, tpl_montage, in_montage = app_utils.match_names(stage1_info
|
370 |
# scale the coordinates
|
371 |
channel_info = app_utils.align_coords(channel_info, tpl_montage, in_montage)
|
372 |
# generate and save figures of the montages
|
|
|
366 |
yield {desc_md : gr.Markdown("Mapping...", visible=True)}
|
367 |
|
368 |
# match the names
|
369 |
+
stage1_info, channel_info, tpl_montage, in_montage = app_utils.match_names(stage1_info)
|
370 |
# scale the coordinates
|
371 |
channel_info = app_utils.align_coords(channel_info, tpl_montage, in_montage)
|
372 |
# generate and save figures of the montages
|
app_utils.py
CHANGED
@@ -230,7 +230,7 @@ def find_neighbors(channel_info, missing_channels, new_idx):
|
|
230 |
|
231 |
return new_idx
|
232 |
|
233 |
-
def match_names(stage1_info
|
234 |
# read the location file
|
235 |
loc_file = stage1_info["fileNames"]["input_loc"]
|
236 |
tpl_montage, in_montage, tpl_dict, in_dict = read_montage_data(loc_file)
|
|
|
230 |
|
231 |
return new_idx
|
232 |
|
233 |
+
def match_names(stage1_info):
|
234 |
# read the location file
|
235 |
loc_file = stage1_info["fileNames"]["input_loc"]
|
236 |
tpl_montage, in_montage, tpl_dict, in_dict = read_montage_data(loc_file)
|