Skip to content

Commit

Permalink
apply pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Dec 18, 2023
1 parent fae4c2f commit 85bbf9e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion giga_connectome/mask.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def _get_consistent_masks(
Functional masks with the same affine.
List of str
Identidiers of scans with a different affine.
Identifiers of scans with a different affine.
"""
weird_mask_identifiers = []
odd_masks = np.array(mask_imgs)[np.array(exclude)]
Expand Down
2 changes: 0 additions & 2 deletions giga_connectome/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ def run_postprocessing_dataset(
gc_log.info("Processing subject")

for img in tqdm(images):

print()
gc_log.info(f"Processing image:\n{img.filename}")

Expand Down Expand Up @@ -153,7 +152,6 @@ def run_postprocessing_dataset(
gc_log.info(f"Saved to:\n{output_path}")

if analysis_level == "group":

gc_log.info("Create group connectome")

for desc in connectomes:
Expand Down
1 change: 0 additions & 1 deletion giga_connectome/tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def test_help(capsys):

@pytest.mark.smoke
def test_smoke(tmp_path, capsys):

bids_dir = resource_filename(
"giga_connectome",
"data/test_data/ds000017-fmriprep22.0.1-downsampled-nosurface",
Expand Down
1 change: 0 additions & 1 deletion giga_connectome/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def set_verbosity(verbosity: int | list[int]) -> None:


def workflow(args):

gc_log.info(vars(args))

# set file paths
Expand Down

0 comments on commit 85bbf9e

Please sign in to comment.