-
-
Notifications
You must be signed in to change notification settings - Fork 262
Unidentified issue with "set_fault_relation" #1075
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
base: main
Are you sure you want to change the base?
Conversation
…TION" is based on the model from tutorial ch1_5, where this did not work. For the video tutorial model, set fault relations does work.
|
it is failing the new test looking for the data. I will look into it venv/lib/python3.13/site-packages/pandas/io/common.py:873: FileNotFoundError |
| j = self.structural_groups.index(fault_group) | ||
| if j <= i: # Only consider groups that are | ||
| raise ValueError(f"Fault {group.name} cannot affect older fault {fault_group.name}") | ||
| fault_relations[i, j] = True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line of code was removed in 2023 when I added the next case and no test was picking it up thanks you Nils. Great catch!
Leguark
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for finding such a huge bug and provide the a test for it!
my changes are breaking other functions looking into it
Description
In example "ch1_5", function set_fault_relation does not work as intended as described in issue #1074. I tried this in some other models, where the behaviour is still off. This is a WIP, where I turned the model from ch1_5 into a test. For this model it works.
I am willingt to try myself, @Leguark, but I spent quite some time in it already and am a bit out of ideas.
Checklist
or 2. verifies that outputs are as expected for given inputs (e.g. unit tests).