Giter VIP home page Giter VIP logo

Comments (8)

Luthaf avatar Luthaf commented on September 28, 2024 1

Most of the code was updated, but the tests are segfaulting (there must be an ABI mismatch somewhere).

I found the bug, tests should be passing now. Here is a list of missing stuff to do, from the head of the dev branch:

  • Add Residue type and associated functions (code + test)
  • Wrap chfl_set_warning_callback (code + test)
  • Provide default warning callback using julia warnings
  • Add missing functions:
    • chfl_frame_add_atom (code + test)
    • chfl_frame_remove (code + test)
    • chfl_topology_resize (code + test)
    • chfl_topology_residues_linked (code + test)
    • chfl_selection_string (code + test)
  • update documentation by comparing with chemfiles.h and other headers in include/chemfiles/capi
  • fix deprecation warning from Julia 0.5 to Julia 0.6, if any.

Pick anything that suits you =)

from chemfiles.jl.

Luthaf avatar Luthaf commented on September 28, 2024 1

from chemfiles.jl.

Luthaf avatar Luthaf commented on September 28, 2024

Hi, and thank your very much for stepping in!

As you might have found out, I don't really have a lot of time to maintain this binding, so your proposition is very appreciated. I can definitively help you getting this to work, and I will review any pull-request =)

Here is a high-level overview of the package:

  • the c++ library is installed using Conda.jl in deps/build.jl;
  • the C API is automatically translated from the header using the bindgen repository. This create the src/generated/cdef.jl and src/generated/types.jl files. cdef.jl contains the functions declaration, and types.jl contains the types and the enums.
  • all other files wrap the C API and create a more julian API.

On my WIP, I already work through the two first items, and only started on the third. Most of the code was updated, but the tests are segfaulting (there must be an ABI mismatch somewhere).

What is missing before a 0.7.4 release is:

  • Fixing the tests for the current types;
  • Adding the new function from the 0.7 releases (The Residue type and all associated functions, chfl_frame_add_atom, chfl_selection_string, chfl_frame_remove, chfl_topology_resize, chfl_topology_residues_linked)
  • Making sure the documentation is up to date, with respect to updated code, and to new types and functions. The chemfiles changelog can be helpful here.

Let's me know what you could do, and do not hesitate to ask any question, either here or on the gitter chat.

from chemfiles.jl.

mgxm avatar mgxm commented on September 28, 2024

Thank You @Luthaf, I will start working on that. 😄

There's a lot of errors and warning on Julia 0.6, what yout think is better for first approach?

  • Fix errors and code for Julia 0.6
  • Implements the missing stuffs and migrate to v0.6

from chemfiles.jl.

mgxm avatar mgxm commented on September 28, 2024

I think we can rewrite the Tests cases using the Base.Test and removing the FactCheck, seems to be abandoned

from chemfiles.jl.

Luthaf avatar Luthaf commented on September 28, 2024

Tagged and submitted: JuliaLang/METADATA.jl#10352

from chemfiles.jl.

mgxm avatar mgxm commented on September 28, 2024

@Luthaf Can we close this?

from chemfiles.jl.

Luthaf avatar Luthaf commented on September 28, 2024

Yes! And thanks for your help =)

from chemfiles.jl.

Related Issues (20)

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.