Skip to content

tests: load trimmed Igor Pro 8 experiment from #28 - #31

Merged
paulmueller merged 1 commit into
AFM-analysis:masterfrom
paulmueller-agent:test-igor8-long-folder-pxp
Nov 3, 2026
Merged

paulmueller merged 1 commit into
AFM-analysis:masterfrom
paulmueller-agent:test-igor8-long-folder-pxp

Conversation

@paulmueller-agent

Copy link
Copy Markdown

Adds a regression test for #28 that loads a real Igor Pro 8 experiment.

  • tests/data/igor8-long-folder-names.pxp is the Test.pxp attached to Seems failing on folders with long names #28 (10 MB), trimmed to 122 KB. Only wave records were removed: each data folder keeps its smallest wave (DSM_dQ). All other records are unchanged.
  • The file has 24 sample folders under USAXS. 18 of them have names longer than 31 bytes, including an 82-byte name with spaces.
  • test_igor8_long_folder_name_file checks the folder names and that each folder holds exactly its own wave and variable. It also checks two wave lengths.
  • Without Read Igor Pro 8 long data-folder names #30 this test fails with ValueError: collision on name K0 in root.
  • CHANGELOG: adds entries for Read Igor Pro 8 long data-folder names #30 and this test.

pytest tests (21 passed) and flake8 --exclude _version.py . pass locally.

🤖 Generated with Claude Code

The experiment attached to AFM-analysis#28 is trimmed to one wave per data folder
(122 KB). It has 18 folders whose names are longer than 31 bytes.
Before AFM-analysis#30 it raised a name collision in root.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@paulmueller
paulmueller merged commit 29da41b into AFM-analysis:master Nov 3, 2026
2 of 3 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