Skip to content

Parallel processing with dstools-extract-ds #32

@JacksonJMB

Description

@JacksonJMB

Currently dstools-extract-ds deletes all temporary files in the MeasurementSet's parent directory. In extract_ds.py, main ends with

os.system(f"rm -r {ms.path.parent}/*dstools-temp*.*ms 2>/dev/null")

This causes difficulties for parallel processing, since when the command finishes executing in one process, it causes a failure in the other processes. A temporary fix for my purposes is to separate my data into multiple directories, but would it be possible to change extract_ds.py so that only the files created by the given process are removed?

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions