KashyapiNagaHarshitha commited on
Commit
416f47b
·
verified ·
1 Parent(s): dc47c5c

Update Background_Substraction.py

Browse files
Files changed (1) hide show
  1. Background_Substraction.py +4 -2
Background_Substraction.py CHANGED
@@ -45,7 +45,7 @@ warnings.filterwarnings('ignore', category= UserWarning)
45
  ###############################
46
 
47
  ##### LOCAL WORKSTATION #####
48
- input_path = '/Users/harshithakolipaka/Downloads/wetransfer_data-zip_2024-05-17_1431/'
49
  #############################
50
 
51
  #set_name = 'Set_A'
@@ -55,7 +55,7 @@ input_path = '/Users/harshithakolipaka/Downloads/wetransfer_data-zip_2024-05-17_
55
  #present_dir = os.path.dirname(os.path.realpath(__file__))
56
 
57
  #input_path = os.path.join(present_dir, 'wetransfer_data-zip_2024-05-17_1431')
58
- base_dir = input_path
59
  '''
60
  # Function to change permissions recursively with error handling
61
  def change_permissions_recursive(path, mode):
@@ -75,6 +75,8 @@ def change_permissions_recursive(path, mode):
75
  change_permissions_recursive(base_dir, 0o777)
76
  change_permissions_recursive('/code', 0o777)
77
  '''
 
 
78
  set_path = 'test'
79
  selected_metadata_files = ['Slide_B_DD1s1.one_1.tif.csv', 'Slide_B_DD1s1.one_2.tif.csv']
80
  ls_samples = ['Ashlar_Exposure_Time.csv', 'new_data.csv', 'DD3S1.csv', 'DD3S2.csv', 'DD3S3.csv', 'TMA.csv']
 
45
  ###############################
46
 
47
  ##### LOCAL WORKSTATION #####
48
+ #input_path = '/Users/harshithakolipaka/Downloads/wetransfer_data-zip_2024-05-17_1431/'
49
  #############################
50
 
51
  #set_name = 'Set_A'
 
55
  #present_dir = os.path.dirname(os.path.realpath(__file__))
56
 
57
  #input_path = os.path.join(present_dir, 'wetransfer_data-zip_2024-05-17_1431')
58
+ #base_dir = input_path
59
  '''
60
  # Function to change permissions recursively with error handling
61
  def change_permissions_recursive(path, mode):
 
75
  change_permissions_recursive(base_dir, 0o777)
76
  change_permissions_recursive('/code', 0o777)
77
  '''
78
+
79
+ base_dir = '/code/wetransfer_data-zip_2024-05-17_1431'
80
  set_path = 'test'
81
  selected_metadata_files = ['Slide_B_DD1s1.one_1.tif.csv', 'Slide_B_DD1s1.one_2.tif.csv']
82
  ls_samples = ['Ashlar_Exposure_Time.csv', 'new_data.csv', 'DD3S1.csv', 'DD3S2.csv', 'DD3S3.csv', 'TMA.csv']