Skip to content
Snippets Groups Projects
Commit 3b8951df authored by ulc0011's avatar ulc0011
Browse files

Merge branch 'dev' of code.it4i.cz:vys0053/SGS18-READEX into dev

parents dc2f0d47 e0885942
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@
# WARNING! All changes made in this file will be lost!
import os
import sys
import glob
import shutil
import json
from runpy import run_path
......@@ -231,9 +232,11 @@ class Ui_mericOptSettings(object):
for root_folder_ind, root_folder in enumerate(root_folder_lst):
# Expanze cesty ke slozce s daty
root_folder = os.path.abspath(root_folder)
for key, val in self.config_dic['y_label'].items():
shutil.move(root_folder + '/' + key + '-' + val[0][0] + '-CONFIG.opts',
save_file_path + '/' + key + '-' + val[0][0] + '-CONFIG.opts')
files = glob.iglob(os.path.join(root_folder, "*.opts"))
for file in files:
if os.path.isfile(file):
shutil.copy2(file, save_file_path)
self.__print_success_msg('Files with Meric optimal settings has been created.')
else:
self.__print_error_msg('Radar error.')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment