Skip to content

Commit

Permalink
fix pd concat axis=0 in 1 more place
Browse files Browse the repository at this point in the history
  • Loading branch information
DarnellGranberry committed Dec 13, 2024
1 parent 267ab51 commit 0d84e6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions topaz/utils/data/train_test_split_micrographs.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def train_test_split_micrographs(seed, n, path, format, image_dir, file_ext):
image_names_train.append(image_names[j])
groups_train.append(groups[j])

targets_train = pd.concat(groups_train, 0)
targets_test = pd.concat(groups_test, 0)
targets_train = pd.concat(groups_train, axis=0)
targets_test = pd.concat(groups_test, axis=0)


## if the image-dir is specified, make the image list files
Expand Down

0 comments on commit 0d84e6a

Please sign in to comment.