Skip to content

Commit

Permalink
Update process_multiSample.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yiwang12 authored Nov 18, 2024
1 parent cd43323 commit 6820012
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mNSF/process_multiSample.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,7 @@ def get_chunked_data(X, Y, nchunk, method='random'):
X_chunk = pd.DataFrame(X_chunk)
D = get_D(X_chunk,Y_chunk,rescale_spatial_coords=False)
list_D_sampleTmp.append(D)
list_X_sampleTmp.append(X_chunk)
return list_D_sampleTmp, list_X_sampleTmp

list_X_sampleTmp.append(X_chunk)
else:
raise ValueError("method must be one of: 'kmeans' or 'random'")

Expand Down

0 comments on commit 6820012

Please sign in to comment.