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

Added some Q #4

Merged
merged 15 commits into from Nov 26, 2018
Merged

Added some Q #4

merged 15 commits into from Nov 26, 2018

Conversation

Adriaenvc
Copy link
Contributor

No description provided.

@helgee
Copy link
Member

helgee commented Nov 23, 2018

Please add docstrings

@coveralls
Copy link

Pull Request Test Coverage Report for Build 101

  • 4 of 5 (80.0%) changed or added relevant lines in 1 file are covered.
  • 86 unchanged lines in 12 files lost coverage.
  • Overall coverage decreased (-17.3%) to 82.47%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/q.jl 4 5 80.0%
Files with Coverage Reduction New Missed Lines %
src/u.jl 1 88.89%
src/h.jl 2 71.43%
src/types.jl 2 71.43%
src/m.jl 2 62.5%
src/g.jl 2 66.67%
src/x.jl 3 86.96%
src/SPICE.jl 6 68.42%
src/v.jl 9 91.09%
src/b.jl 10 85.71%
src/cells.jl 15 73.21%
Totals Coverage Status
Change from base Build 100: -17.3%
Covered Lines: 414
Relevant Lines: 502

💛 - Coveralls

@coveralls
Copy link

coveralls commented Nov 23, 2018

Pull Request Test Coverage Report for Build 114

  • 23 of 26 (88.46%) changed or added relevant lines in 4 files are covered.
  • 86 unchanged lines in 12 files lost coverage.
  • Overall coverage decreased (-17.0%) to 82.792%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/q.jl 12 15 80.0%
Files with Coverage Reduction New Missed Lines %
src/u.jl 1 88.89%
src/h.jl 2 71.43%
src/types.jl 2 71.43%
src/m.jl 2 75.0%
src/g.jl 2 66.67%
src/x.jl 3 86.96%
src/SPICE.jl 6 68.42%
src/v.jl 9 91.09%
src/b.jl 10 85.71%
src/cells.jl 15 73.21%
Totals Coverage Status
Change from base Build 100: -17.0%
Covered Lines: 433
Relevant Lines: 523

💛 - Coveralls

@codecov-io
Copy link

codecov-io commented Nov 23, 2018

Codecov Report

Merging #4 into master will decrease coverage by 16.96%.
The diff coverage is 88.46%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master       #4       +/-   ##
===========================================
- Coverage   99.75%   82.79%   -16.97%     
===========================================
  Files          21       23        +2     
  Lines         414      523      +109     
===========================================
+ Hits          413      433       +20     
- Misses          1       90       +89
Impacted Files Coverage Δ
src/e.jl 100% <100%> (ø)
src/r.jl 100% <100%> (ø) ⬆️
src/m.jl 75% <100%> (-8.34%) ⬇️
src/q.jl 80% <80%> (ø)
src/s.jl 61.36% <0%> (-38.64%) ⬇️
src/g.jl 66.66% <0%> (-33.34%) ⬇️
src/SPICE.jl 68.42% <0%> (-31.58%) ⬇️
src/types.jl 71.42% <0%> (-28.58%) ⬇️
src/h.jl 71.42% <0%> (-28.58%) ⬇️
src/cells.jl 73.21% <0%> (-26.79%) ⬇️
... and 8 more

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 95511f6...7d49578. Read the comment docs.

Copy link
Member

@helgee helgee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just some minor changes

src/e.jl Outdated
handleerror()
permutedims(r)

end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Newline missing

src/q.jl Outdated

- [NAIF Documentation](https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/qxq_c.html)
"""
qxq(q1,q2...) = qxq(collect(q1),collect(q2))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this definition

test/m.jl Outdated
vecgood = [1., 2., 3.]
@test mxvg(matrix, vecgood) == [6.,20.]
vecgood = [1., 2., 3.]
@test mxvg(matrix, vecgood) == [6.,20.]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just use general Julia syntax, which is matrix * vecgood

test/q.jl Outdated

dq = qxq(q, qav)

#dq = [-0.5 * x for x in dq]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not comment out code, delete it. Git will take care of it :-)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or do something like # TODO: Finish this

test/q.jl Outdated

qK = [0.0, 0.0, 0.0, 1.0]

qIJ=qxq(qI, qJ)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Always spaces around = for assignment

test/r.jl Outdated
end


end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Newline missing

@helgee helgee merged commit 1a97f8c into JuliaAstro:master Nov 26, 2018
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.

None yet

4 participants