Commit 633afeb
committed
fix(FXC-6541): keep default names for UI, write empty string in translator
- Remove Optional from SurfaceOutput.name and TimeAverageSurfaceOutput.name
since they always have a string default
- Translator writes empty string to solver JSON for default names so the
C++ solver falls back to the standard "surface" prefix
- Fix surface_output_class type annotations to use Type[]
- Restore name="Surface output" in services.py default params
- Re-sort service_init ref files for CI compatibility
Made-with: Cursor1 parent ab52ca2 commit 633afeb
11 files changed
Lines changed: 949 additions & 944 deletions
File tree
- flow360/component/simulation
- outputs
- translator
- tests
- ref/simulation
- simulation
- ref
- translator/data
- gai_windtunnel_farfield_info
- ghost_periodic_geometry_entity_info
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | | - | |
473 | | - | |
| 472 | + | |
| 473 | + | |
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
504 | | - | |
| 504 | + | |
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
548 | | - | |
549 | | - | |
| 548 | + | |
| 549 | + | |
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
597 | 597 | | |
598 | 598 | | |
599 | 599 | | |
600 | | - | |
| 600 | + | |
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
| |||
0 commit comments