-
Notifications
You must be signed in to change notification settings - Fork 7
[FL-728][FLPY-62] Add Default Report Config for Report Summary Table #1074
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
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
1c01352
Add dump_table_csv to report settings
angranl-flex 851c0a3
Create default report config service
angranl-flex b77468f
Fix format
angranl-flex 19f208d
Address circular import
angranl-flex a2ea4f9
Add function to get default report config and initiate a report job a…
angranl-flex 78a3dfe
Add service function
angranl-flex fd5ab4a
Add unit test
angranl-flex 0cc5c61
Fix report submission
angranl-flex cf1a2db
fix solver version
angranl-flex 8ba9b26
Add mock response
angranl-flex 90d28b0
Fix unit test
angranl-flex 8738591
Address comment
angranl-flex ec2e7d3
Merge branch 'develop' into angran/fl728/addReportSummaryTable
angranl-flex 97fc5e5
Fix format
angranl-flex ef10f47
Fix format
angranl-flex a197e2b
More comments to address
angranl-flex 217b62e
Merge branch 'develop' into angran/fl728/addReportSummaryTable
benflexcompute File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"data": { | ||
"userId": "AIDAU77I6BZ2QYZLLVSRW", | ||
"id": "rep-00508a80-2566-45bf-9572-56228a3161fd", | ||
"status": "submitted", | ||
"name": "ResultSummary", | ||
"resources": [ | ||
{ | ||
"type": "Case", | ||
"id": "case-f813742a-61d3-497c-8447-3ac8b0c997f1", | ||
"rawData": null | ||
} | ||
], | ||
"createdAt": "2025-05-19T18:30:51.476347Z", | ||
"updatedAt": "2025-05-19T18:30:51.476347Z" | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
112 changes: 112 additions & 0 deletions
112
tests/simulation/service/ref/default_report_config.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
{ | ||
"items": [ | ||
{ | ||
"data": [ | ||
"volume_mesh/bounding_box/length", | ||
"volume_mesh/bounding_box/height", | ||
"volume_mesh/bounding_box/width", | ||
"params/reference_geometry/moment_length", | ||
"params/reference_geometry/area", | ||
{ | ||
"data": "surface_forces/totalCL", | ||
"title": "CL", | ||
"operations": [ | ||
{ | ||
"fraction": 0.1, | ||
"type_name": "Average" | ||
} | ||
], | ||
"type_name": "DataItem" | ||
}, | ||
{ | ||
"data": "surface_forces/totalCD", | ||
"title": "CD", | ||
"operations": [ | ||
{ | ||
"fraction": 0.1, | ||
"type_name": "Average" | ||
} | ||
], | ||
"type_name": "DataItem" | ||
}, | ||
{ | ||
"data": "surface_forces/totalCFy", | ||
"title": "CFy", | ||
"operations": [ | ||
{ | ||
"fraction": 0.1, | ||
"type_name": "Average" | ||
} | ||
], | ||
"type_name": "DataItem" | ||
}, | ||
{ | ||
"data": "surface_forces/totalCMx", | ||
"title": "CMx", | ||
"operations": [ | ||
{ | ||
"fraction": 0.1, | ||
"type_name": "Average" | ||
} | ||
], | ||
"type_name": "DataItem" | ||
}, | ||
{ | ||
"data": "surface_forces/totalCMy", | ||
"title": "CMy", | ||
"operations": [ | ||
{ | ||
"fraction": 0.1, | ||
"type_name": "Average" | ||
} | ||
], | ||
"type_name": "DataItem" | ||
}, | ||
{ | ||
"data": "surface_forces/totalCMz", | ||
"title": "CMz", | ||
"operations": [ | ||
{ | ||
"fraction": 0.1, | ||
"type_name": "Average" | ||
} | ||
], | ||
"type_name": "DataItem" | ||
} | ||
], | ||
"section_title": "result_summary", | ||
"headers": [ | ||
"OAL", | ||
"OAH", | ||
"OAW", | ||
"Reference Length", | ||
"Reference Area", | ||
"CL", | ||
"CD", | ||
"CFy", | ||
"CMx", | ||
"CMy", | ||
"CMz" | ||
], | ||
"type_name": "Table", | ||
"formatter": [ | ||
null, | ||
null, | ||
null, | ||
null, | ||
null, | ||
null, | ||
null, | ||
null, | ||
null, | ||
null, | ||
null | ||
] | ||
} | ||
], | ||
"include_case_by_case": false, | ||
"settings": { | ||
"dpi": 300, | ||
"dump_table_csv": true | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.