Skip to content

Commit

Permalink
Update falconz.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LalithShiyam committed Sep 29, 2023
1 parent bf542ad commit afaad08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions falconz/falconz.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

import colorama
import emoji
from falconz.constants import FALCON_WORKING_FOLDER
from falconz.constants import FALCON_WORKING_FOLDER, PROPORTION_OF_CORES
from falconz.image_conversion import NiftiConverter, NiftiConverterError, merge3d
from falconz.image_processing import determine_candidate_frames, align
from falconz.input_validation import InputValidation
Expand Down Expand Up @@ -210,7 +210,7 @@ def main():
if args.start_frame == 99:
n_jobs = multiprocessing.cpu_count()
start_frame_file = determine_candidate_frames(candidate_frames, reference_file, falcon_dir,
round(n_jobs / 2))
round(n_jobs * PROPORTION_OF_CORES))
# find the index of the start_frame_file in the org_nifti_files list
start_frame = org_nifti_files.index(start_frame_file)
# everything from and after start_frame will be motion corrected and will be called moving frames
Expand Down

0 comments on commit afaad08

Please sign in to comment.