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

Analysis carried out: 2022-08-25_07-26-15
Output directory: /CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01111.ims/resolution_level_x/registration_channel_1
Current directory: /home/iana/src/analysis_pipeline
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/napari-clean/bin/brainreg 
Input arguments: ['/CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01111.ims/resolution_level_x/channel_1', '/CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01111.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_01111.ims/resolution_level_x/channel_1
brainreg_directory: /CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01111.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-08-25 07:26:15 AM - INFO - MainProcess fancylog.py:307 - Starting logging
2022-08-25 07:26:15 AM - INFO - MainProcess fancylog.py:308 - Not logging multiple processes
2022-08-25 07:26:15 AM - INFO - MainProcess cli.py:205 - Starting registration
2022-08-25 07:26:17 AM - DEBUG - MainProcess system.py:134 - Determining the maximum number of CPU cores to use
2022-08-25 07:26:17 AM - DEBUG - MainProcess system.py:143 - Number of CPU cores available is: 28
2022-08-25 07:26:17 AM - DEBUG - MainProcess system.py:173 - Setting number of processes to: 28
2022-08-25 07:26:17 AM - INFO - MainProcess main.py:49 - Loading raw image data
2022-08-25 07:26:17 AM - DEBUG - MainProcess load.py:66 - Data type is: directory of files
2022-08-25 07:26:17 AM - DEBUG - MainProcess system.py:134 - Determining the maximum number of CPU cores to use
2022-08-25 07:26:17 AM - DEBUG - MainProcess system.py:143 - Number of CPU cores available is: 28
2022-08-25 07:26:17 AM - DEBUG - MainProcess system.py:173 - Setting number of processes to: 28
2022-08-25 07:47:07 AM - INFO - MainProcess run.py:61 - Registering
2022-08-25 07:47:07 AM - INFO - MainProcess run.py:81 - Starting affine registration
2022-08-25 08:09:50 AM - INFO - MainProcess run.py:84 - Starting freeform registration
2022-08-25 08:11:30 AM - INFO - MainProcess run.py:87 - Starting segmentation
2022-08-25 08:11:44 AM - INFO - MainProcess run.py:90 - Segmenting hemispheres
2022-08-25 08:11:52 AM - INFO - MainProcess run.py:93 - Generating inverse (sample to atlas) transforms
2022-08-25 08:11:52 AM - DEBUG - MainProcess registration.py:139 - Generating inverse affine transform
2022-08-25 08:11:53 AM - DEBUG - MainProcess registration.py:178 - Registering sample to atlas
2022-08-25 08:16:15 AM - INFO - MainProcess run.py:96 - Transforming image to standard space
2022-08-25 08:16:43 AM - INFO - MainProcess run.py:102 - Generating deformation field
2022-08-25 08:16:43 AM - INFO - MainProcess registration.py:287 - Generating deformation field
2022-08-25 08:16:52 AM - INFO - MainProcess run.py:105 - Exporting images as tiff
2022-08-25 08:16:52 AM - DEBUG - MainProcess load.py:102 - Data type is: NifTI
2022-08-25 08:16:52 AM - INFO - MainProcess batteryrunners.py:274 - pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
2022-08-25 08:17:01 AM - DEBUG - MainProcess load.py:102 - Data type is: NifTI
2022-08-25 08:17:01 AM - INFO - MainProcess batteryrunners.py:274 - pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
2022-08-25 08:17:07 AM - DEBUG - MainProcess load.py:102 - Data type is: NifTI
2022-08-25 08:17:07 AM - INFO - MainProcess batteryrunners.py:274 - pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
2022-08-25 08:17:12 AM - DEBUG - MainProcess load.py:102 - Data type is: NifTI
2022-08-25 08:17:12 AM - INFO - MainProcess batteryrunners.py:274 - pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
2022-08-25 08:17:54 AM - DEBUG - MainProcess load.py:102 - Data type is: NifTI
2022-08-25 08:17:54 AM - INFO - MainProcess batteryrunners.py:274 - pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
2022-08-25 08:18:22 AM - INFO - MainProcess run.py:213 - Deleting intermediate niftyreg files
2022-08-25 08:18:23 AM - INFO - MainProcess main.py:83 - Calculating volumes of each brain area
2022-08-25 08:18:23 AM - DEBUG - MainProcess load.py:90 - Data type is: tif stack
2022-08-25 08:18:23 AM - DEBUG - MainProcess load.py:149 - Loading: /CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01111.ims/resolution_level_x/registration_channel_1/registered_atlas.tiff
2022-08-25 08:18:24 AM - DEBUG - MainProcess load.py:90 - Data type is: tif stack
2022-08-25 08:18:24 AM - DEBUG - MainProcess load.py:149 - Loading: /CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01111.ims/resolution_level_x/registration_channel_1/registered_hemispheres.tiff
2022-08-25 08:18:32 AM - INFO - MainProcess main.py:94 - Generating boundary image
2022-08-25 08:18:32 AM - DEBUG - MainProcess load.py:90 - Data type is: tif stack
2022-08-25 08:18:32 AM - DEBUG - MainProcess load.py:149 - Loading: /CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01111.ims/resolution_level_x/registration_channel_1/registered_atlas.tiff
2022-08-25 08:18:44 AM - DEBUG - MainProcess boundaries.py:22 - Saving segmentation boundary image
2022-08-25 08:18:44 AM - INFO - MainProcess main.py:100 - brainreg completed. Results can be found here: /CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01111.ims/resolution_level_x/registration_channel_1
2022-08-25 08:18:45 AM - INFO - MainProcess cli.py:222 - Finished. Total time taken: 0:52:30.349212
