diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ab52e6e..ea159c71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## \[Unreleased\] +### Removed + +- Test only field for datasamples (#67) + +### Changed + - feat: remove RemoteDataMethod and change RemoteMethod class to be fully flexible regarding function name. The substra-tools methods is now generic, and load the inputs depending on the inputs dictionary content (#59) diff --git a/benchmark/camelyon/pure_substrafl/register_assets.py b/benchmark/camelyon/pure_substrafl/register_assets.py index 782d0ffd..487de30b 100644 --- a/benchmark/camelyon/pure_substrafl/register_assets.py +++ b/benchmark/camelyon/pure_substrafl/register_assets.py @@ -136,7 +136,6 @@ def add_duplicated_dataset( data_sample = DataSampleSpec( data_manager_keys=[dataset_key], - test_only=kind == "test", path=data_sample_folder, ) diff --git a/tests/assets_factory.py b/tests/assets_factory.py index 4392f829..a735aefa 100644 --- a/tests/assets_factory.py +++ b/tests/assets_factory.py @@ -105,7 +105,7 @@ def add_numpy_samples( ) -> List[str]: """Each client will associated one element of the contents list (pairs are made according to their respective index) with the corresponding dataset key and submit it to substra. The content will be stored in the tmp_folder in the - process. All the samples will be added with the argument `test_only=False` + process. Args: contents (List[np.ndarray]): Numpy contents to add to each organization. @@ -134,7 +134,6 @@ def add_numpy_samples( data_sample_spec = DataSampleSpec( data_manager_keys=[dataset_key], - test_only=False, path=data_sample_folder, )