Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MCC Flow
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Köllőd Csaba
MCC Flow
Commits
a38a7d93
Commit
a38a7d93
authored
2 years ago
by
Köllőd Csaba
Browse files
Options
Downloads
Patches
Plain Diff
Release: main application
- call form terminal as python -u mcc-flow
parent
d43daf10
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mcc-flow/__main__.py
+22
-0
22 additions, 0 deletions
mcc-flow/__main__.py
with
22 additions
and
0 deletions
mcc-flow/__main__.py
0 → 100644
+
22
−
0
View file @
a38a7d93
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
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment