Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add options for SDSC and EC2 patchers #937

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

add options for SDSC and EC2 patchers #937

wants to merge 1 commit into from

Conversation

oliche
Copy link
Member

@oliche oliche commented Feb 19, 2025

During the patching of the wheel data, I needed some more control of patching using EC2 and SDSC.

  • SDSC patcher operates on symlinks, and if one of the input files is modified, this directly impacts the original data. I have set an assertion that enforces distinct input and output datasets
  • the EC2 patcher didn't check file hashes on checking local data, I've set it to true by default and provided an option to opt-out for bulky input data such as spike sorting. task.run(hash_files=False)

@oliche oliche requested a review from mayofaulkner February 19, 2025 12:48
task.session_path = SDSC_TMP.joinpath(session_path)
assert self.getOutputFiles(session_path=task.session_path).shape[0] == 0, (
"On SDSC patcher, input files output files should be distinct from input files to avoid overwriting")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor typo here. Also could you please add a comment about copying input files that are also output file in the future? Otherwise if we encounter this assertion in the future we may not remember the implications of breaking it

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