Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function header to SynthSeg/dcan/img_processing/correct_chirality.py (from code review 2022-06-22) #8

Open
GregConan opened this issue Jun 22, 2022 · 0 comments

Comments

@GregConan
Copy link
Member

  • Function header should explain the correct_chirality function's inputs and outputs
  • One option is to copy-paste (part of) the correct_chirality function header from CABINET/src/utilities.py:
    """
    Creates an output file with chirality corrections fixed.
    :param nifti_input_file_path: String, path to a segmentation file with possible chirality problems
    :param segment_lookup_table: String, path to a FreeSurfer-style look-up table
    :param left_right_mask_nifti_file: String, path to a mask file that distinguishes between left and right
    :param nifti_output_file_path: String, path to location to write the corrected file
    """
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant