Script execution
This commit is contained in:
+4
-1
@@ -186,7 +186,10 @@ def set_user_env(user, exp, path="/sls/X04SA/data/x04sa/ES3/expdata"):
|
||||
set_setting(DATA_ROOT_PREFERENCE, path)
|
||||
set_data_path(path + "/" +user + "/" +exp)
|
||||
#pixel.set_path(path, user + "/" +exp + "/images")
|
||||
pixel.set_path("../../expdata/" + user + "/" +exp, "/images")
|
||||
pixel.set_path("../../expdata/" + user + "/" +exp, "images")
|
||||
if not os.path.exists(pixel.get_full_path()):
|
||||
os.makedirs(pixel.get_full_path())
|
||||
|
||||
|
||||
def get_user_env():
|
||||
return (get_setting(USER_NAME_PREFERENCE), get_setting(USER_EXP_PREFERENCE), get_setting(DATA_ROOT_PREFERENCE))
|
||||
|
||||
Reference in New Issue
Block a user