We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a475019 commit c5c1b52Copy full SHA for c5c1b52
1 file changed
src/funtracks/import_export/csv/_import.py
@@ -267,8 +267,12 @@ def tracks_from_df(
267
# Recompute from segmentation
268
node_features[feature_key] = True
269
else:
270
- # Load from column specified by feature_value
271
- node_features[feature_value] = False
+ # Load from column — use feature_key as the feature name,
+ # and add the key -> column mapping to node_name_map so the
272
+ # builder knows which column to read from.
273
+ node_features[feature_key] = False
274
+ if node_name_map is not None:
275
+ node_name_map[feature_key] = feature_value
276
277
builder = CSVTracksBuilder()
278
0 commit comments