Skip to content

Commit

Permalink
update .py file
Browse files Browse the repository at this point in the history
  • Loading branch information
jenna-tomkinson committed Dec 14, 2022
1 parent 17fa768 commit ab702df
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions 0_download_data/correct_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,21 @@


import pathlib
import importlib
correct = importlib.import_module("correctionutils")
import correctionutils as correct


# ## Correct Second Plate

# ### Set paths
#
# **Paths are set as strings to use in command line for CellProfiler**

# In[2]:


path_to_pipeline = "/home/jenna/NF1_SchwannCell_data/0_download_data/convert_crop_NF1_images.cppipe"
path_to_output = "/home/jenna/NF1_SchwannCell_data/0_download_data/NF1_Second_Plate_Corrected"
path_to_images = "/home/jenna/NF1_SchwannCell_data/0_download_data/NF1_Second_Plate"
path_to_pipeline = "convert_crop_NF1_images.cppipe"
path_to_output = "NF1_Corrected_Second_Plate"
path_to_images = "NF1_Second_Plate"


# ### Run CellProfiler to convert and crop images and reformat the metadata
Expand All @@ -35,7 +36,7 @@


images_path = pathlib.Path(path_to_output)
output_folder_name = 'NF1_Second_Plate_Corrected'
output_folder_name = path_to_output

correct.rename_images(images_path, output_folder_name)

0 comments on commit ab702df

Please sign in to comment.