You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following errors are being reported when converting SV2AIR3-Waterloo-MATLAB source files into GroMEt during Model Coverage Reporting. These errors are due to not-yet-completed handling routines in skema/program_analysis/CAST/matlab/matlab_to_cast.py
AttributeError: 'Var' object has no attribute 'id'
Seen when processing:
get_beta.m
get_vaccine_rate.m
svair.m
svir.m
Unrecognized node type: <class 'int'>
Seen when processing:
plot_data.m
shade.m
Processing exceeded timeout (10s)
Seen when processing:
voc2_driver.m
The text was updated successfully, but these errors were encountered:
## MATLAB to GroMEt testing
This PR adds GroMEt translation to all pytest cases in the Tree-Sitter
MATLAB translator. This was done as part of the fix for a bug that was
happening when generating Model Coverage Reports. The CAST to GroMEt
converter was reporting correctly that the "list" type is not supported,
switching to the corresponding enumeration fixed that issue.
## Relavant Features:
- Each pytest case now includes GroMEt translation.
- Got rid of some outdated static method typing calls.
- `LiteralValue `data types are now CAST enumerations instead of
hard-coded strings.
- Removed the handler for `Range `Tree-sitter syntax nodes, these nodes
are managed by iterator routines
- Turned off the pytest series related to loops temporarily
Related to issue #725
Partially resolves issue #764
---------
Co-authored-by: Joseph Astier <[email protected]>
Co-authored-by: Tito Ferra <[email protected]>
Co-authored-by: titomeister <[email protected]>
## MATLAB to GroMEt testing
This PR adds GroMEt translation to all pytest cases in the Tree-Sitter
MATLAB translator. This was done as part of the fix for a bug that was
happening when generating Model Coverage Reports. The CAST to GroMEt
converter was reporting correctly that the "list" type is not supported,
switching to the corresponding enumeration fixed that issue.
## Relavant Features:
- Each pytest case now includes GroMEt translation.
- Got rid of some outdated static method typing calls.
- `LiteralValue `data types are now CAST enumerations instead of
hard-coded strings.
- Removed the handler for `Range `Tree-sitter syntax nodes, these nodes
are managed by iterator routines
- Turned off the pytest series related to loops temporarily
Related to issue #725
Partially resolves issue #764
---------
Co-authored-by: Joseph Astier <[email protected]>
Co-authored-by: Tito Ferra <[email protected]>
Co-authored-by: titomeister <[email protected]> 159d40e
MATLAB CAST to GroMEt bugs
The following errors are being reported when converting SV2AIR3-Waterloo-MATLAB source files into GroMEt during Model Coverage Reporting. These errors are due to not-yet-completed handling routines in
skema/program_analysis/CAST/matlab/matlab_to_cast.py
AttributeError: 'Var' object has no attribute 'id'
Seen when processing:
Unrecognized node type: <class 'int'>
Seen when processing:
Processing exceeded timeout (10s)
Seen when processing:
The text was updated successfully, but these errors were encountered: