Skip to content

Commit

Permalink
Removed commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
hschilling committed Feb 7, 2024
1 parent ccc61f3 commit c848d9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 0 additions & 5 deletions aviary/visualization/assets/aviary_vars/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,6 @@ $(function () {
headerSort: true,
movableColumns: false,
dataTreeStartExpanded: false,
// fitData - not a big difference maybe because already gave fixed width to the columns
// fitDataFill - not a big difference maybe because already gave fixed width to the columns
// fitDataTable - not a big difference maybe because already gave fixed width to the columns
// fitColumns - not a big difference maybe because already gave fixed width to the columns
// fitDataStretch - uses the full width for the value, which is good
layout: "fitDataStretch",
columns: [
{
Expand Down
4 changes: 4 additions & 0 deletions aviary/visualization/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,16 +158,20 @@ def create_aviary_variables_table_data_nested(script_name, recorder_file):
"""
cr = om.CaseReader(recorder_file)
print(f"r.list_c with {cr=}")

if 'final' not in cr.list_cases():
return None

print(f"cr.get_case with {cr=}")
case = cr.get_case('final')
outputs = case.list_outputs(explicit=True, implicit=True, val=True,
residuals=True, residuals_tol=None,
units=True, shape=True, bounds=True, desc=True,
scaling=False, hierarchical=True, print_arrays=True,
out_stream=None, return_format='dict')


sorted_abs_names = sorted(outputs.keys())

grouped = {}
Expand Down

0 comments on commit c848d9f

Please sign in to comment.