Skip to content
Snippets Groups Projects
Commit a38a7d93 authored by Köllőd Csaba's avatar Köllőd Csaba
Browse files

Release: main application

- call form terminal as python -u mcc-flow
parent d43daf10
Branches
No related tags found
No related merge requests found
from downloadFilesOfNeuroFlowDevice import download_data
from merge_records import process_data_files_in_dir
from gui import show_message, select_folder_in_explorer
TITLE = 'MCC Flow'
def main():
path = select_folder_in_explorer(
'Select a folder, where you want to download data from MCC Flow server.',
dialog_title='Save folder selection',
title=TITLE
)
show_message('Give credentials in terminal!', TITLE)
path = download_data(path)
out_file = input('Type output file format ( edf / fif ) ')
process_data_files_in_dir(path, out_file)
print(f'Processed files are available in {path}')
if __name__ == '__main__':
main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment