Git Product home page Git Product logo

c3d.jl's People

Contributors

halleysfifthinc avatar lilithhafner avatar timholy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

c3d.jl's Issues

LoadError while "using C3D"

After I cloned the package by:
Pkg.clone("https://github.com/halleysfifthinc/C3D.jl.git"),

and tried to:
using C3D

it requires "VaxData" Package, so I cloned it by:
Pkg.clone("https://github.com/halleysfifthinc/VaxData.jl.git"),

then I tried again to:
using C3D

This error appears:

ERROR: LoadError: LoadError: UndefVarError: @debug not defined
Stacktrace:
[1] include_from_node1(::String) at ./loading.jl:576
[2] include(::String) at ./sysimg.jl:14
[3] include_from_node1(::String) at ./loading.jl:576
[4] include(::String) at ./sysimg.jl:14
[5] anonymous at ./:2
while loading /home/user/.julia/v0.6/C3D/src/parameters.jl, in expression starting on line 67
while loading /home/user/.julia/v0.6/C3D/src/C3D.jl, in expression starting on line 11
ERROR: Failed to precompile C3D to /home/user/.julia/lib/v0.6/C3D.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:710
[2] _require(::Symbol) at ./loading.jl:497
[3] require(::Symbol) at ./loading.jl:405

I use julia 0.6.2 on ubuntu 14

Thanks,

`strip_prefixes` overwrites duplicate markers

E.g. when multiple subjects exist with identical marker sets

julia> f = readc3d(joinpath(samp00, "Vicon Motion Systems", "TableTennis.c3d"));

julia> length(f.point)
391

julia> f = readc3d(joinpath(artifact"sample00", "Vicon Motion Systems", "TableTennis.c3d"); strip_prefixes=true);

julia> length(f.point)
276

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

EOFError when reading `artifact"sample27/kyowadengyo.c3d"`

julia> readc3d(artifact"sample27/kyowadengyo.c3d")
ERROR: EOFError: read end of file
Stacktrace:
 [1] unsafe_read(s::IOStream, p::Ptr{UInt8}, nb::UInt64)
   @ Base ./iostream.jl:428
 [2] unsafe_read
   @ ./io.jl:759 [inlined]
 [3] read!
   @ ./io.jl:777 [inlined]
 [4] saferead!(io::IOStream, x::Matrix{Int16}, FEND::C3D.Endian)
   @ C3D .../C3D/src/C3D.jl:220
 [5] readdata(io::IOStream, groups::Dict{Symbol, C3D.Group}, FEND::C3D.Endian, FType::Type{VaxData.VaxFloatF})
   @ C3D .../C3D/src/C3D.jl:182
 [6] readc3d(fn::String; paramsonly::Bool, validate::Bool, missingpoints::Bool, strip_prefixes::Bool)
   @ C3D .../C3D/src/C3D.jl:278
 [7] readc3d
   @ .../C3D/src/C3D.jl:261 [inlined]
 [8] top-level scope
   @ /opt/julia/usr/share/julia/stdlib/v1.8/Artifacts/src/Artifacts.jl:4

Add `strict` option to bytelength of parameters

In the event that a parameter has been modified after reading, the standard parameter size calculation (abs(p.np - p.pos)) cannot be relied upon, and the size must be properly calculated. This will be necessary for saving modified C3D files (probably not so much for created C3Ds).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.