**************  BRAINREG LOG  **************

Analysis carried out: 2022-12-20_17-46-55
Output directory: /CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01175.ims/resolution_level_x/registration_channel_1
Current directory: /home/iana/bio/peace_pipe_line
Version: 0.3.1

**************  GIT INFO  **************

Gitpython is not installed. Cannot check if software is in a git repository

**************  COMMAND LINE ARGUMENTS  **************

Command: /home/iana/anaconda3/envs/ap/bin/brainreg 
Input arguments: ['/CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01175.ims/resolution_level_x/channel_1', '/CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01175.ims/resolution_level_x/registration_channel_1', '-v', '5.33', '1.444', '1.444', '--orientation', 'spr', '--atlas', 'allen_mouse_10um', '--save-original-orientation']

**************  VARIABLES  **************

Namespace:
image_paths: /CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01175.ims/resolution_level_x/channel_1
brainreg_directory: /CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01175.ims/resolution_level_x/registration_channel_1
downsample_images: None
atlas: allen_mouse_10um
backend: niftyreg
affine_n_steps: 6
affine_use_n_steps: 5
freeform_n_steps: 6
freeform_use_n_steps: 4
bending_energy_weight: 0.95
grid_spacing: -10
smoothing_sigma_reference: -1.0
smoothing_sigma_floating: -1.0
histogram_n_bins_floating: 128
histogram_n_bins_reference: 128
voxel_sizes: ['5.33', '1.444', '1.444']
orientation: spr
n_free_cpus: 4
debug: False
save_original_orientation: True
sort_input_file: False


**************  LOGGING  **************

2022-12-20 17:46:55 PM - INFO - MainProcess fancylog.py:307 - Starting logging
2022-12-20 17:46:55 PM - INFO - MainProcess fancylog.py:308 - Not logging multiple processes
2022-12-20 17:46:55 PM - INFO - MainProcess cli.py:205 - Starting registration
2022-12-20 17:46:57 PM - DEBUG - MainProcess system.py:134 - Determining the maximum number of CPU cores to use
2022-12-20 17:46:57 PM - DEBUG - MainProcess system.py:143 - Number of CPU cores available is: 32
2022-12-20 17:46:57 PM - DEBUG - MainProcess system.py:173 - Setting number of processes to: 32
2022-12-20 17:46:57 PM - INFO - MainProcess main.py:49 - Loading raw image data
2022-12-20 17:46:57 PM - DEBUG - MainProcess load.py:66 - Data type is: directory of files
2022-12-20 17:46:57 PM - DEBUG - MainProcess system.py:134 - Determining the maximum number of CPU cores to use
2022-12-20 17:46:57 PM - DEBUG - MainProcess system.py:143 - Number of CPU cores available is: 32
2022-12-20 17:46:57 PM - DEBUG - MainProcess system.py:173 - Setting number of processes to: 32
2022-12-20 17:59:48 PM - INFO - MainProcess run.py:61 - Registering
2022-12-20 17:59:48 PM - INFO - MainProcess run.py:81 - Starting affine registration
2022-12-20 18:20:59 PM - INFO - MainProcess run.py:84 - Starting freeform registration
2022-12-20 18:21:53 PM - INFO - MainProcess run.py:87 - Starting segmentation
2022-12-20 18:22:52 PM - INFO - MainProcess run.py:90 - Segmenting hemispheres
2022-12-20 18:23:07 PM - INFO - MainProcess run.py:93 - Generating inverse (sample to atlas) transforms
2022-12-20 18:23:07 PM - DEBUG - MainProcess registration.py:139 - Generating inverse affine transform
2022-12-20 18:23:07 PM - DEBUG - MainProcess registration.py:178 - Registering sample to atlas
2022-12-20 18:25:14 PM - INFO - MainProcess run.py:96 - Transforming image to standard space
2022-12-20 18:25:50 PM - INFO - MainProcess run.py:102 - Generating deformation field
2022-12-20 18:25:50 PM - INFO - MainProcess registration.py:287 - Generating deformation field
2022-12-20 18:26:11 PM - INFO - MainProcess run.py:105 - Exporting images as tiff
2022-12-20 18:26:11 PM - DEBUG - MainProcess load.py:102 - Data type is: NifTI
2022-12-20 18:26:11 PM - INFO - MainProcess batteryrunners.py:274 - pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
2022-12-20 18:27:44 PM - DEBUG - MainProcess load.py:102 - Data type is: NifTI
2022-12-20 18:27:44 PM - INFO - MainProcess batteryrunners.py:274 - pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
2022-12-20 18:29:15 PM - DEBUG - MainProcess load.py:102 - Data type is: NifTI
2022-12-20 18:29:15 PM - INFO - MainProcess batteryrunners.py:274 - pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
2022-12-20 18:29:38 PM - DEBUG - MainProcess load.py:102 - Data type is: NifTI
2022-12-20 18:29:38 PM - INFO - MainProcess batteryrunners.py:274 - pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
2022-12-20 18:34:50 PM - DEBUG - MainProcess load.py:102 - Data type is: NifTI
2022-12-20 18:34:50 PM - INFO - MainProcess batteryrunners.py:274 - pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
2022-12-20 18:39:20 PM - INFO - MainProcess run.py:213 - Deleting intermediate niftyreg files
2022-12-20 18:39:20 PM - INFO - MainProcess main.py:83 - Calculating volumes of each brain area
2022-12-20 18:39:20 PM - DEBUG - MainProcess load.py:90 - Data type is: tif stack
2022-12-20 18:39:20 PM - DEBUG - MainProcess load.py:149 - Loading: /CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01175.ims/resolution_level_x/registration_channel_1/registered_atlas.tiff
2022-12-20 18:39:28 PM - DEBUG - MainProcess load.py:90 - Data type is: tif stack
2022-12-20 18:39:28 PM - DEBUG - MainProcess load.py:149 - Loading: /CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01175.ims/resolution_level_x/registration_channel_1/registered_hemispheres.tiff
2022-12-20 18:39:33 PM - INFO - MainProcess main.py:94 - Generating boundary image
2022-12-20 18:39:33 PM - DEBUG - MainProcess load.py:90 - Data type is: tif stack
2022-12-20 18:39:33 PM - DEBUG - MainProcess load.py:149 - Loading: /CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01175.ims/resolution_level_x/registration_channel_1/registered_atlas.tiff
2022-12-20 18:39:45 PM - DEBUG - MainProcess boundaries.py:22 - Saving segmentation boundary image
2022-12-20 18:39:47 PM - INFO - MainProcess main.py:100 - brainreg completed. Results can be found here: /CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01175.ims/resolution_level_x/registration_channel_1
2022-12-20 18:39:47 PM - INFO - MainProcess cli.py:222 - Finished. Total time taken: 0:52:52.395847
