Skip to content

Commit

Permalink
Exclude generated fields for mcap export
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbonner committed Oct 29, 2023
1 parent 383828b commit 5d7135a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hub/exportWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ self.onmessage = (event) => {
}
});
};
processTree(log.getFieldTree(options.format !== "wpilog")); // Include generated field if not wpilog
processTree(log.getFieldTree(options.format === "csv-table" || options.format === "csv-list")); // Include generated field if not wpilog

// Filter by type and prefix
fields = fields.filter((field) => log.getType(field) !== LoggableType.Empty);
Expand Down

0 comments on commit 5d7135a

Please sign in to comment.