[FOLDER RESTURCTURING #22] some changes in path variables
This commit is contained in:
1 parent
7c5e16ecc6
commit
0dc5aff3fc
6 files changed
+10
-9
No files matched your search
@@ -380,7 +380,7 @@ def check_time(datetime):
|
||||
except ValueError:
|
||||
return False
|
||||
|
||||
|
||||
# TODO: change root to datapath
|
||||
def get_file_list(root_dir):
|
||||
"""
|
||||
Function uses a directorie to get all the *.gse files from it.
|
||||
|
||||
@@ -61,10 +61,9 @@ from pylot.core.util.dataprocessing import Metadata
|
||||
|
||||
if sys.version_info.major == 3:
|
||||
import icons_rc_3 as icons_rc
|
||||
elif sys.version_info.major == 2:
|
||||
import icons_rc_2 as icons_rc
|
||||
else:
|
||||
raise ImportError('Could not determine python version.')
|
||||
raise ImportError(f'Python version {sys.version_info.major} of current interpreter not supported.'
|
||||
f'\nPlease use Python 3+.')
|
||||
|
||||
|
||||
# workaround to prevent PyCharm from deleting icons_rc import when optimizing imports
|
||||
@@ -4589,7 +4588,7 @@ class InputsTab(PropTab):
|
||||
self.fullNameEdit.setText(fulluser)
|
||||
except TypeError as e:
|
||||
self.fullNameEdit.setText(fulluser[0])
|
||||
|
||||
# TODO: check settings and substitute datapath for root
|
||||
# information about data structure
|
||||
dataroot = settings.value("data/dataRoot")
|
||||
curstructure = settings.value("data/Structure")
|
||||
|
||||
Reference in new issue
Block a user