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

[WIP] Keep multifault tags only for faults with ruptures #10436

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

kejohnso
Copy link
Contributor

It is possible to have multifault sources where a fault lacks unique ruptures not already counted toward faults closer to a site. When splitting the source by faults, this leaves src.rupids_by_tag[tag] empty for a fault with no unique ruptures and causes the job to fail while saving the split sources here.

This PR changes the code to wait to create the tag for each fault until it has looped through the ruptures, only creating the tag if ruptures exist.

I will also try to create a test for this... hence WIP

@kejohnso kejohnso requested a review from micheles March 11, 2025 19:57
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.

1 participant