Skip to content

Commit 43b7843

Browse files
committed
Change dtype of batch
1 parent ae69955 commit 43b7843

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dscim/preprocessing/input_damages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"""
44

55
import os
6-
import glob
76
import re
87
import logging
98
import warnings
@@ -131,6 +130,7 @@ def concatenate_damage_output(damage_dir, basename, save_path):
131130
for v in list(data.coords.keys()):
132131
if data.coords[v].dtype == object:
133132
data.coords[v] = data.coords[v].astype("unicode")
133+
data.coords["batch"] = data.coords["batch"].astype("unicode")
134134
for v in list(data.variables.keys()):
135135
if data[v].dtype == object:
136136
data[v] = data[v].astype("unicode")

0 commit comments

Comments
 (0)