Comments (8)
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.
from chemfiles.jl.
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, andtypes.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.
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.
I think we can rewrite the Tests cases using the Base.Test and removing the FactCheck, seems to be abandoned
from chemfiles.jl.
Tagged and submitted: JuliaLang/METADATA.jl#10352
from chemfiles.jl.
@Luthaf Can we close this?
from chemfiles.jl.
Yes! And thanks for your help =)
from chemfiles.jl.
Related Issues (20)
- Julia 0.7 warnings
- Add a script to check that every function is documented HOT 3
- Investigate failure with references to functions in doc
- PDB file writing ends abruptly. Update Julia's C API HOT 8
- Add examples to all public functions
- Will you continue to be update to newer julia? HOT 2
- Register v0.9.3 HOT 3
- Appveyor is broken HOT 1
- Non-deterministic segmentation faults when reading LAMMPS dump files using Julia bindings HOT 12
- Get cell dimensions from trajectory (when available) HOT 5
- one-based indexing HOT 2
- test: UndefVarError: contains not defined HOT 4
- Unable to obtain properties from LAMMPS dump file HOT 2
- Make `Frame` indexable HOT 1
- Chemfiles tests fail on M1 mac HOT 8
- `residue_for_atom` should give a `view` instead instead of a `copy` HOT 2
- minor point in the example in README: `positions = positions(frame)` HOT 1
- unit cell angles not being correctly read from NAMD/CHARMM DCD file HOT 4
- In Chemfiles.jl output trajectory file has a compact format and thus loses precision HOT 1
- TPR support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chemfiles.jl.