Milan Kolar
|
2919a94932
|
Merge pull request #811 from pypeclub/feature/settings_in_mongo
Settings store in mongo
|
2020-12-14 11:39:41 +01:00 |
|
iLLiCiTiT
|
51ad0b5b96
|
hanler is imported in create_settings_handler
|
2020-12-14 10:14:34 +01:00 |
|
iLLiCiTiT
|
2816f50473
|
few minor fixes
|
2020-12-11 17:34:38 +01:00 |
|
iLLiCiTiT
|
c6fbd47979
|
moved back settings lib functions and _SETTINGS_HANDLER is set with wrapper
|
2020-12-11 17:28:32 +01:00 |
|
iLLiCiTiT
|
9299eb55e9
|
removed ENVIRONEMNTS_KEY as not used
|
2020-12-11 16:34:31 +01:00 |
|
iLLiCiTiT
|
50434ecb60
|
use absolute path to defaults
|
2020-12-11 16:08:04 +01:00 |
|
iLLiCiTiT
|
de92f0a8d3
|
extracted current storing process to SettingsFileHandler
|
2020-12-11 16:07:47 +01:00 |
|
iLLiCiTiT
|
ab5fadccbb
|
extracted constants to constants.py
|
2020-12-11 16:05:21 +01:00 |
|
iLLiCiTiT
|
6a3184e56f
|
do not cache defaults
|
2020-12-11 13:15:49 +01:00 |
|
iLLiCiTiT
|
a96c2f4ea6
|
default metadata are not resolved on get_anatomy_settings
|
2020-12-04 17:21:54 +01:00 |
|
iLLiCiTiT
|
3deca82c81
|
do not remove metadata from system settings on loading of environments
|
2020-12-04 11:05:47 +01:00 |
|
iLLiCiTiT
|
372569c5b1
|
fix imports and usage of get_anatomy_settings
|
2020-12-03 22:02:14 +01:00 |
|
iLLiCiTiT
|
d6a75d8cbe
|
Merge branch '2.x/develop' into feature/rename_get_anatomy_data
|
2020-12-03 21:59:44 +01:00 |
|
iLLiCiTiT
|
e7f0af72d8
|
renamed get_default_project_anatomy_data to get_default_anatomy_settings
|
2020-12-03 19:36:05 +01:00 |
|
iLLiCiTiT
|
fbb0f5ffca
|
renamed get_anatomy_data to get_anatomy_settings
|
2020-12-03 19:35:41 +01:00 |
|
iLLiCiTiT
|
31a2c70b26
|
implemented clear_metadata_from_settings to remove metadata from loaded settings
|
2020-12-03 19:29:13 +01:00 |
|
iLLiCiTiT
|
41ce3ea190
|
last fix!
|
2020-12-03 15:57:43 +01:00 |
|
iLLiCiTiT
|
ca7663bbc9
|
renamed overrides getter function
|
2020-12-03 15:53:04 +01:00 |
|
iLLiCiTiT
|
025cf4e8cc
|
added function to get current context project settings get_current_project_settings
|
2020-12-03 11:23:30 +01:00 |
|
iLLiCiTiT
|
a562e0c3bc
|
fixed docstring
|
2020-12-03 11:22:46 +01:00 |
|
iLLiCiTiT
|
09a62d8050
|
added get_default_project_anatomy_data and get_default_project_settings
|
2020-12-03 11:19:50 +01:00 |
|
iLLiCiTiT
|
8e1f1fc7cc
|
make cleaner get overrides function names
|
2020-12-03 11:19:13 +01:00 |
|
iLLiCiTiT
|
79b4cc9f11
|
added function get_anatomy_data to get anatomy data
|
2020-12-03 10:43:44 +01:00 |
|
iLLiCiTiT
|
7db9a0ca9d
|
get_environments skip deprecated environemnts loading
|
2020-12-03 10:43:12 +01:00 |
|
iLLiCiTiT
|
0685c98c77
|
fixed json decode exception for python 2
|
2020-12-03 10:41:19 +01:00 |
|
iLLiCiTiT
|
a97cc086ed
|
settings function names are with verbs now
|
2020-12-03 10:41:05 +01:00 |
|
iLLiCiTiT
|
0b18f1cce3
|
fixed few issues of loaded data
|
2020-11-27 19:01:25 +01:00 |
|
iLLiCiTiT
|
0ebd6466e9
|
updated lib with new modifications
|
2020-11-27 03:32:30 +01:00 |
|
Milan Kolar
|
cc95749819
|
Small fixes in docstrings
|
2020-11-27 03:04:19 +01:00 |
|
iLLiCiTiT
|
fd00cf196b
|
modified first docstring by comments
|
2020-11-27 03:03:57 +01:00 |
|
iLLiCiTiT
|
170d2dc305
|
modified docstring in save functions to be more clear
|
2020-11-27 03:03:49 +01:00 |
|
iLLiCiTiT
|
4ae64993bc
|
added few dostrings
# Conflicts:
# pype/settings/lib.py
|
2020-11-27 03:03:43 +01:00 |
|
iLLiCiTiT
|
212bbbc8df
|
print more specific data
|
2020-11-27 03:03:31 +01:00 |
|
iLLiCiTiT
|
e8e0261396
|
safer work with default settings
|
2020-11-27 03:03:28 +01:00 |
|
iLLiCiTiT
|
3a7cdae35c
|
make sure settings.lib import won't crash if PYPE_PROJECT_CONFIGS is not set
|
2020-11-27 03:02:57 +01:00 |
|
iLLiCiTiT
|
cdacc26572
|
STUDIO_OVERRIDES_PATH is safer
|
2020-11-27 03:02:35 +01:00 |
|
iLLiCiTiT
|
3697482fe1
|
added functions for saving settings
|
2020-11-27 03:02:32 +01:00 |
|
iLLiCiTiT
|
39d83c59ec
|
path to project settings returns path to studio overrides if project name is None
|
2020-11-27 03:02:29 +01:00 |
|
iLLiCiTiT
|
8d23f491d2
|
moved load_jsons_from_dir
# Conflicts:
# pype/settings/lib.py
|
2020-11-27 03:02:21 +01:00 |
|
iLLiCiTiT
|
d5b55f60b0
|
changed load_json to load_json_file in code
|
2020-11-27 03:02:04 +01:00 |
|
iLLiCiTiT
|
effa7a28f8
|
simplified load_json_file as jsons are expected to be saved with gui
|
2020-11-27 03:02:00 +01:00 |
|
iLLiCiTiT
|
5fc00fa6f4
|
renamed load_json to load_json_file
|
2020-11-27 03:01:55 +01:00 |
|
iLLiCiTiT
|
8494fd55e6
|
duplicated environment group keys are checked
|
2020-11-23 18:39:25 +01:00 |
|
iLLiCiTiT
|
219515ea0e
|
added few comments
|
2020-11-23 18:39:14 +01:00 |
|
iLLiCiTiT
|
92255897ae
|
find_environments does not pop metadata keys
|
2020-11-23 18:38:57 +01:00 |
|
iLLiCiTiT
|
9eec66e967
|
default returns copy of cached defaults
|
2020-11-23 18:38:41 +01:00 |
|
iLLiCiTiT
|
fb6061e80b
|
changed logic of environment keys loading
|
2020-10-01 19:44:02 +02:00 |
|
iLLiCiTiT
|
484a35ae52
|
modified way how environments are loaded
|
2020-10-01 19:15:23 +02:00 |
|
iLLiCiTiT
|
ec445fcc2d
|
added new M_ENVIRONMENT_KEY for storing environments
|
2020-10-01 17:59:32 +02:00 |
|
iLLiCiTiT
|
4903c09f40
|
variable POP_KEY renamed to M_POP_KEY
|
2020-10-01 17:59:20 +02:00 |
|