Skip to content
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

Improve show of tables #49

Merged
merged 4 commits into from
Nov 13, 2021
Merged

Improve show of tables #49

merged 4 commits into from
Nov 13, 2021

Conversation

nickrobinson251
Copy link
Owner

@nickrobinson251 nickrobinson251 commented Nov 13, 2021

Before (on main):

julia> net.multi_terminal_dc
MultiTerminalDCLines with 0 records, 1 columns:


julia> net.generators
Generators with 3 records, 20 columns:
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
    i   id      pg     qg     qt     qb       vs    ireg  mbase   zr   zx   rt   xt  gtap  stat  rmpct     pt   pb  oi   fi
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
  111   ST     0.0    0.0  110.0    0.0  1.01375  334153  161.0  0.0  1.0  0.0  0.0   1.0  true  200.0   90.0  0.0   1  1.0
 -112  PV      3.1  -91.0   91.0  -31.0  1.14634       0  175.0  0.0  1.0  0.0  0.0   1.0  true  300.0   91.0  0.0   2  1.0
  113    1  313.01  82.29  147.0  -72.0   1.1233       0  380.0  0.0  1.0  0.0  0.0   1.0  true   55.1  229.0  0.0   2  1.0
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

After (this PR):

julia> net.multi_terminal_dc
MultiTerminalDCLines with 0 records

julia> net.generators
Generators with 3 records, 20 columns:
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
    i   id      pg      qg     qt     qb       vs    ireg  mbase   zr   zx   rt   xt  gtap  stat  rmpct     pt   pb  oi   fi
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
  111   ST    0.0     0.0   110.0    0.0  1.01375  334153  161.0  0.0  1.0  0.0  0.0   1.0  true  200.0   90.0  0.0   1  1.0
 -112  PV     3.1   -91.0    91.0  -31.0  1.14634       0  175.0  0.0  1.0  0.0  0.0   1.0  true  300.0   91.0  0.0   2  1.0
  113    1  313.01   82.29  147.0  -72.0  1.1233        0  380.0  0.0  1.0  0.0  0.0   1.0  true   55.1  229.0  0.0   2  1.0
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

@codecov-commenter
Copy link

codecov-commenter commented Nov 13, 2021

Codecov Report

Merging #49 (972b997) into main (5bbeeef) will decrease coverage by 0.28%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #49      +/-   ##
==========================================
- Coverage   94.26%   93.98%   -0.29%     
==========================================
  Files           3        3              
  Lines         279      266      -13     
==========================================
- Hits          263      250      -13     
  Misses         16       16              
Impacted Files Coverage Δ
src/types.jl 95.50% <100.00%> (ø)
src/parsing.jl 98.79% <0.00%> (-0.09%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5bbeeef...972b997. Read the comment docs.

@nickrobinson251 nickrobinson251 merged commit ce4e3a9 into main Nov 13, 2021
@nickrobinson251 nickrobinson251 deleted the npr/prettier-show branch November 13, 2021 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants