We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41f9d50 commit bb52bf0Copy full SHA for bb52bf0
1 file changed
src/mindlogger_data_export/outputs.py
@@ -617,7 +617,8 @@ def _format(self, data: MindloggerData) -> list[NamedOutput]:
617
# Format each activity for REDCap
618
outputs = []
619
for wide_output in wide_outputs:
620
- activity_name = wide_output.name
+ activity_name = wide_output.name.translate({32: None, 45: None, 43: None})
621
+ """Output name without spaces, minuses, or pluses."""
622
formatted_df = self._format_activity(wide_output.output, activity_name)
623
outputs.append(NamedOutput(f"{activity_name}_redcap", formatted_df))
624
0 commit comments