From 72d620ad0ffbe870fb9bd6975c2a8476dc4b5559 Mon Sep 17 00:00:00 2001 From: Joaquin Galdon Quiroga <jgq@CX-LD-AUG-106.ipp.mpg.de> Date: Mon, 22 Jan 2024 12:06:35 +0100 Subject: [PATCH] Some changes to hardcoded paths --- IDL_routines/fild_gui.pro | 4 ++-- IDL_routines/fild_gui_event.pro | 3 ++- README.md | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/IDL_routines/fild_gui.pro b/IDL_routines/fild_gui.pro index ca2db83..e2ab569 100644 --- a/IDL_routines/fild_gui.pro +++ b/IDL_routines/fild_gui.pro @@ -874,7 +874,7 @@ CAMERA=INT(0) ccd_data_loaded=INT(0) phantom_data_loaded=INT(0) -HOME_path=getenv('HOME') +HOME_path=getenv('WORK') GUI_routines_path=getenv('FILD_GUI_PATH') Results_path=strtrim(GUI_routines_path,1)+'/RESULTS/' FILDSIMf90_path=getenv('FILDSIMf90_PATH') @@ -886,7 +886,7 @@ grid_image=strtrim(GUI_routines_path)+'/config/grid_fild_1_nice.bmp' default_scintillator_plate=strtrim(FILDSIMf90_path,1)+'/geometry/aug_fild1_scint.pl' settings={fild:fild,shot:shot,filter:filter,cal_type:cal_type,overlay_grid:overlay_grid,remap:remap,profiles:profiles,camera:camera,$ - GUI_routines_path:GUI_routines_path,RESULTS_path:RESULTS_path,FILDSIMf90_path:FILDSIMf90_path,FILD_data_path:FILD_data_path,$ + HOME_path:HOME_path,GUI_routines_path:GUI_routines_path,RESULTS_path:RESULTS_path,FILDSIMf90_path:FILDSIMf90_path,FILD_data_path:FILD_data_path,$ grid_image:grid_image,calibration_file:calibration_file,$ default_scintillator_plate:default_scintillator_plate,ccd_data_loaded:ccd_data_loaded,phantom_data_loaded:phantom_data_loaded} diff --git a/IDL_routines/fild_gui_event.pro b/IDL_routines/fild_gui_event.pro index 37c4e52..44dcc15 100644 --- a/IDL_routines/fild_gui_event.pro +++ b/IDL_routines/fild_gui_event.pro @@ -2096,8 +2096,9 @@ UVALUE.EXPORT_EPS_PHANTOM_STRIKE_MAP: BEGIN UVALUE.FILDSIM_GET_INPUT_FILE:BEGIN COMMON FILDSIM_SETTINGS,fildsim_settings + COMMON SETTINGS,settings - fildsim_settings.input_filename= DIALOG_PICKFILE(/READ,PATH='~/') + fildsim_settings.input_filename= DIALOG_PICKFILE(/READ,PATH=settings.HOME_path) widget_control,uvalue.fildsim_current_input,set_value='CURRENT INPUT FILENAME: '+fildsim_settings.input_filename diff --git a/README.md b/README.md index 7f261ae..d077272 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,6 @@ fildsimf90_executable --> give here the path for the FILDSIM.exe file machine --> name of the machine where you want to submit the runs. USE WITH RESPONSIBILITY!! - # Additional information # 22.01.2024 -- GitLab