From 54280ec7e398841981199316b74fbf85b72f2bbd Mon Sep 17 00:00:00 2001 From: Joe Ziminski <55797454+JoeZiminski@users.noreply.github.com> Date: Wed, 4 Oct 2023 10:44:11 +0100 Subject: [PATCH] Make other small changes in code documentation. --- datashuttle/utils/data_transfer.py | 4 ++-- tests/tests_integration/test_ssh_file_transfer.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/datashuttle/utils/data_transfer.py b/datashuttle/utils/data_transfer.py index 2b2c66e1..3a97f96f 100644 --- a/datashuttle/utils/data_transfer.py +++ b/datashuttle/utils/data_transfer.py @@ -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 @@ -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( diff --git a/tests/tests_integration/test_ssh_file_transfer.py b/tests/tests_integration/test_ssh_file_transfer.py index 5ea08f5a..219326e5 100644 --- a/tests/tests_integration/test_ssh_file_transfer.py +++ b/tests/tests_integration/test_ssh_file_transfer.py @@ -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