tangled
alpha
login
or
join now
dekker.one
/
Fourmi
0
fork
atom
A web scraper build to search specific information for a given compound (and its pseudonyms)
0
fork
atom
overview
issues
pulls
pipelines
GUI_Options -> GUI
Harmen Prins
11 years ago
5fbbb26c
3dfa7599
+4
-4
2 changed files
expand all
collapse all
unified
split
GUI
configImporter.py
configuration.cfg
+3
-3
GUI/configImporter.py
···
11
11
def load_common_attributes(self):
12
12
"""Loads common attributes from the initialized file."""
13
13
try:
14
14
-
return self.parser.get('GUI_Options', 'CommonParameters')
14
14
+
return self.parser.get('GUI', 'CommonParameters')
15
15
except:
16
16
return 'One, Two, Three'
17
17
18
18
def load_output_types(self):
19
19
"""Loads output types from the initialized file."""
20
20
try:
21
21
-
return self.parser.get('GUI_Options', 'OutputTypes')
21
21
+
return self.parser.get('GUI', 'OutputTypes')
22
22
except:
23
23
return 'csv'
24
24
25
25
def load_always_attributes(self):
26
26
"""Loads attributes that are always searched for from the initialized file."""
27
27
try:
28
28
-
return self.parser.get('GUI_Options', 'AlwaysParameters')
28
28
+
return self.parser.get('GUI', 'AlwaysParameters')
29
29
except:
30
30
return 'Name, Weight'
+1
-1
configuration.cfg
···
1
1
-
[GUI_Options]
1
1
+
[GUI]
2
2
# Personalize options in your User Interface
3
3
4
4
# Commonly used parameters are listed in the GUI for easy selection