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

Allow caching 'red' run folders to scratch #548

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Conversation

takluyver
Copy link
Member

At present, 'run files map' caches can only be created inside the folder itself (which largely means by xred).

cc @turkot

@turkot
Copy link
Contributor

turkot commented Aug 28, 2024

lgtm!

@takluyver takluyver added this to the 1.18 milestone Aug 28, 2024
@takluyver takluyver added the enhancement New feature or request label Aug 28, 2024
@takluyver takluyver merged commit fd33ea3 into master Aug 28, 2024
9 checks passed
@takluyver takluyver deleted the feat/red-cache-scratch branch August 28, 2024 14:43
os.path.realpath(directory)
)
online_match = re.match(
# instr cycle prop raw/proc run
r'^.+/(\w+)/(\w+)/(p\d+)/(raw|proc)/(r\d+)/?$',
r'^.+/(\w+)/(\w+)/(p\d+)/(raw|proc|red)/(r\d+)/?$',
Copy link
Member

Choose a reason for hiding this comment

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

is /red available online?

Copy link
Member Author

Choose a reason for hiding this comment

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

I would guess not, thinking about it. But I don't think it hurts anything to have this in the regex if red isn't there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants