tektronix / tektronix/tm_data_types

[BUG]: write_files_in_parallel not generating last waveform in list/not throwing good exceptions

Open
#23 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
8
Forks
14
Avg merge
3d 10h
Merged PRs (30d)
4

Description

Description of the bug

The method write_files_in_parallel for some reason is not generating the last file that was passed to it. This is probably due to the partitioning of the read tasks during process setup

exceptions are also setup for checking using the result, but sometimes it doesn't work.

Steps To Reproduce

No response

Environment Information

No response

Additional Information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the write_files_in_parallel method and reproduce the missing-last-file case with a list of waveforms. Inspect how read tasks are partitioned and how results are checked for exceptions. Done means every input file is generated and failures produce the expected exceptions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.