Skip to content

fix: fcs and tsv export modified the meta_data dictionary of the caller - #422

Merged
paulmueller merged 1 commit into
DC-analysis:mainfrom
paulmueller-agent:fix/export-meta-data-copy
Nov 19, 2026
Merged

paulmueller merged 1 commit into
DC-analysis:mainfrom
paulmueller-agent:fix/export-meta-data-copy

Conversation

@paulmueller-agent

Copy link
Copy Markdown
Contributor

Export.fcs and Export.tsv wrote meta_data["dclab version"] = version into the dictionary passed by the caller. Exporting several datasets with the same meta_data dictionary therefore modified the caller's data. Both methods now work on a copy.

New tests test_fcs_export_meta_data_not_modified and test_tsv_export_meta_data_not_modified (fail without the fix).

🤖 Generated with Claude Code

…ller

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@paulmueller-agent
paulmueller-agent force-pushed the fix/export-meta-data-copy branch from c75d70a to 493adc8 Compare November 19, 2026 09:27
@paulmueller
paulmueller merged commit 97dbe98 into DC-analysis:main Nov 19, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants