Skip to content

Commit c31588f

Browse files
authored
fix: typo in go further examples (#331)
Signed-off-by: ThibaultFy <[email protected]>
1 parent e3b796b commit c31588f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

substrafl_examples/go_further/run_diabetes_substrafl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
assert assets_directory.is_dir(), """Did not find the asset directory,
126126
a directory called 'assets' is expected in the same location as this file"""
127127

128-
permissions_dataset = Permissions(public=False, authorized_ids=DATA_PROVIDER_ORGS_ID)
128+
permissions_dataset = Permissions(public=False, authorized_ids=[ANALYTICS_PROVIDER_ORG_ID])
129129

130130
dataset = DatasetSpec(
131131
name=f"Diabetes dataset",

substrafl_examples/go_further/run_mnist_cyclic.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,10 @@
7373

7474
# Store organization IDs
7575
ORGS_ID = list(clients)
76-
ALGO_ORG_ID = ORGS_ID[0] # Algo provider is defined as the first organization.
77-
DATA_PROVIDER_ORGS_ID = ORGS_ID # Data providers orgs are the two last organizations.
76+
# Algo provider is defined as the first organization.
77+
ALGO_ORG_ID = ORGS_ID[0]
78+
# All organizations provide data in this cyclic setup.
79+
DATA_PROVIDER_ORGS_ID = ORGS_ID
7880

7981
# %%
8082
# Data and metrics

0 commit comments

Comments
 (0)