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

Analysis carried out: 2022-10-22_23-07-50
Output directory: /CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01159.ims/resolution_level_x/registration_channel_1_notch_filtered
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/ap/bin/brainreg 
Input arguments: ['/CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01159.ims/resolution_level_x/channel_1_notch_filtered', '/CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01159.ims/resolution_level_x/registration_channel_1_notch_filtered', '-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_01159.ims/resolution_level_x/channel_1_notch_filtered
brainreg_directory: /CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01159.ims/resolution_level_x/registration_channel_1_notch_filtered
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-10-22 23:07:50 PM - INFO - MainProcess fancylog.py:307 - Starting logging
2022-10-22 23:07:50 PM - INFO - MainProcess fancylog.py:308 - Not logging multiple processes
2022-10-22 23:07:50 PM - INFO - MainProcess cli.py:205 - Starting registration
2022-10-22 23:07:53 PM - DEBUG - MainProcess system.py:134 - Determining the maximum number of CPU cores to use
2022-10-22 23:07:53 PM - DEBUG - MainProcess system.py:143 - Number of CPU cores available is: 52
2022-10-22 23:07:53 PM - DEBUG - MainProcess system.py:173 - Setting number of processes to: 52
2022-10-22 23:07:53 PM - INFO - MainProcess main.py:49 - Loading raw image data
2022-10-22 23:07:53 PM - DEBUG - MainProcess load.py:66 - Data type is: directory of files
2022-10-22 23:07:53 PM - DEBUG - MainProcess system.py:134 - Determining the maximum number of CPU cores to use
2022-10-22 23:07:53 PM - DEBUG - MainProcess system.py:143 - Number of CPU cores available is: 52
2022-10-22 23:07:53 PM - DEBUG - MainProcess system.py:173 - Setting number of processes to: 52
2022-10-22 23:28:33 PM - INFO - MainProcess run.py:61 - Registering
2022-10-22 23:28:33 PM - INFO - MainProcess run.py:81 - Starting affine registration
2022-10-22 23:51:45 PM - INFO - MainProcess run.py:84 - Starting freeform registration
2022-10-22 23:52:53 PM - INFO - MainProcess run.py:87 - Starting segmentation
2022-10-22 23:53:46 PM - INFO - MainProcess run.py:90 - Segmenting hemispheres
2022-10-22 23:54:03 PM - INFO - MainProcess run.py:93 - Generating inverse (sample to atlas) transforms
2022-10-22 23:54:03 PM - DEBUG - MainProcess registration.py:139 - Generating inverse affine transform
2022-10-22 23:54:03 PM - DEBUG - MainProcess registration.py:178 - Registering sample to atlas
2022-10-22 23:56:51 PM - INFO - MainProcess run.py:96 - Transforming image to standard space
2022-10-22 23:57:36 PM - INFO - MainProcess run.py:102 - Generating deformation field
2022-10-22 23:57:36 PM - INFO - MainProcess registration.py:287 - Generating deformation field
2022-10-22 23:57:59 PM - INFO - MainProcess run.py:105 - Exporting images as tiff
2022-10-22 23:57:59 PM - DEBUG - MainProcess load.py:102 - Data type is: NifTI
2022-10-22 23:57:59 PM - INFO - MainProcess batteryrunners.py:274 - pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
2022-10-22 23:58:16 PM - DEBUG - MainProcess load.py:102 - Data type is: NifTI
2022-10-22 23:58:16 PM - INFO - MainProcess batteryrunners.py:274 - pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
2022-10-22 23:58:31 PM - DEBUG - MainProcess load.py:102 - Data type is: NifTI
2022-10-22 23:58:31 PM - INFO - MainProcess batteryrunners.py:274 - pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
2022-10-22 23:58:37 PM - DEBUG - MainProcess load.py:102 - Data type is: NifTI
2022-10-22 23:58:37 PM - INFO - MainProcess batteryrunners.py:274 - pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
2022-10-22 23:59:49 PM - DEBUG - MainProcess load.py:102 - Data type is: NifTI
2022-10-22 23:59:49 PM - INFO - MainProcess batteryrunners.py:274 - pixdim[0] (qfac) should be 1 (default) or -1; setting qfac to 1
2022-10-23 00:00:39 AM - INFO - MainProcess run.py:213 - Deleting intermediate niftyreg files
2022-10-23 00:00:40 AM - INFO - MainProcess main.py:83 - Calculating volumes of each brain area
2022-10-23 00:00:40 AM - DEBUG - MainProcess load.py:90 - Data type is: tif stack
2022-10-23 00:00:40 AM - DEBUG - MainProcess load.py:149 - Loading: /CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01159.ims/resolution_level_x/registration_channel_1_notch_filtered/registered_atlas.tiff
2022-10-23 00:00:47 AM - DEBUG - MainProcess load.py:90 - Data type is: tif stack
2022-10-23 00:00:47 AM - DEBUG - MainProcess load.py:149 - Loading: /CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01159.ims/resolution_level_x/registration_channel_1_notch_filtered/registered_hemispheres.tiff
2022-10-23 00:00:54 AM - WARNING - MainProcess volume.py:87 - Atlas value: 1051 not found in registered atlas. Setting registered volume to 0.
2022-10-23 00:00:55 AM - INFO - MainProcess main.py:94 - Generating boundary image
2022-10-23 00:00:55 AM - DEBUG - MainProcess load.py:90 - Data type is: tif stack
2022-10-23 00:00:55 AM - DEBUG - MainProcess load.py:149 - Loading: /CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01159.ims/resolution_level_x/registration_channel_1_notch_filtered/registered_atlas.tiff
2022-10-23 00:01:08 AM - DEBUG - MainProcess boundaries.py:22 - Saving segmentation boundary image
2022-10-23 00:01:10 AM - INFO - MainProcess main.py:100 - brainreg completed. Results can be found here: /CBI_Hive/Acquire/CEBRA/03CL12/analysis/composites_RSCM_v0.1_job_01159.ims/resolution_level_x/registration_channel_1_notch_filtered
2022-10-23 00:01:11 AM - INFO - MainProcess cli.py:222 - Finished. Total time taken: 0:53:20.562011
