Skip to content

Commit

Permalink
Make other small changes in code documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeZiminski committed Oct 4, 2023
1 parent 21268bb commit 54280ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions datashuttle/utils/data_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def check_input_arguments(
"""
Check the sub / session names passed. The checking here
is stricter than for make_sub_folderss / formatting.check_and_format_names
because we want to ensure that a) non-data-type arguments are not
because we want to ensure that a) non-datatype arguments are not
passed at the wrong input (e.g. all_non_ses as a subject name).
We also want to limit the possible combinations of inputs, such
Expand Down Expand Up @@ -350,7 +350,7 @@ def get_processed_names(

def transfer_non_data_type(self, data_type_checked: List[str]) -> bool:
"""
Convenience function, bool if all non-data-type folders
Convenience function, bool if all non-datatype folders
are to be transferred
"""
return any(
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_integration/test_ssh_file_transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def test_all_data_transfer_options(
Parse the arguments to filter the pathtable, getting
the files expected to be transferred passed on the arguments
Note files in sub/ses/datatype folders must be handled
separately to those in non-sub, non-ses, non-data-type folders
separately to those in non-sub, non-ses, non-datatype folders
see test_utils.swap_local_and_central_paths() for the logic
on setting up and swapping local / central paths for
Expand Down

0 comments on commit 54280ec

Please sign in to comment.