-
Notifications
You must be signed in to change notification settings - Fork 18
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
Incorporate ALS fixes (IVS-186) #320
Conversation
1. Upgrade to newer version of ifcopenshell to avoid bug in ALS016 related to clothoid spirals in imperial units. 2. Adjust for the total length of vertical segments so that ALS017 checks are performed correctly. (IVS-186, IVS-53)
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.
- Can you check whether you checked out the right commit from development? The updates made in the ALB012 branch are modified along with these commits.
- I'm getting passed results for ALS017. Could this be that this has to do with the ifcopenshell version? I see the latest release of IfcOpenShell is 0.8.0, where do I find 0.8.1?
Edit; I've manually updated my conda environment to python3.12 and ifcopenshell commit 92b63a0, but still with the same result :(
features/environment.py
Outdated
context.scenario_outcome_state[len(context.gherkin_outcomes)] = {'scenario': scenario.name, | ||
'last_step': scenario.steps[-1]} | ||
|
||
context.scenario_outcome_state.append( |
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 should be
context.scenario_outcome_state.append((len(context.gherkin_outcomes)-1, {'scenario': context.scenario.name, 'last_step': context.scenario.steps[-1], 'instance_id': instance_id}))
See also
context.scenario_outcome_state.append((len(context.gherkin_outcomes)-1, {'scenario': context.scenario.name, 'last_step': context.scenario.steps[-1], 'instance_id': instance_id})) |
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.
features/environment.py
Outdated
# display the correct scenario and insanity related to the gherkin outcome in the behave console & ci/cd report | ||
context.scenario_outcome_state= [] | ||
context.instance_outcome_state = {} | ||
|
||
context.instance_outcome_state = {} |
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.
context.instance_outcome_state = {} |
We're not using instance_outcome_state
anywhere, can be deleted.
features/environment.py
Outdated
|
||
# embed catched exceptions | ||
# embed caught exceptions |
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.
As long as my English teacher from middle school doesn't see this .. oops
Per slack discussion, you need to update the |
Yes, indeed. I thought I was not using venv anymore as I switched to have my own conda environment for running the server, but didn't realize venv was still running for the worker |
Upgrade to newer version of ifcopenshell to avoid bug in ALS016 related to clothoid spirals in imperial units.
Adjust for the total length of vertical segments so that ALS017 checks are performed correctly.
(IVS-186, IVS-53)