Giter VIP home page Giter VIP logo

mmb's People

Contributors

madcatx avatar merkys avatar michaltykac avatar samuelflores avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mmb's Issues

Incompatibility with Gemmi v0.5.8

MMB v4.0.0 built successfully with Gemmi v0.5.7, but due to changes in v0.5.8 it does no longer build:

src/CifOutput.cpp: In function 'void SimTK::CIFOut::reWriteOutCif(const gemmi::Model&, const std::string&, const std::string&, ParameterReader&, const SimTK::CompoundSystem&, bool)':
src/CifOutput.cpp:113:81: error: cannot bind rvalue reference of type 'gemmi::cif::Document&&' to lvalue of type 'gemmi::cif::Document'
  113 |         gemmi::Structure myTrajectoryOutputFile       = gemmi::make_structure ( doc );

This is not very serious, but at some point I would like to upgrade Gemmi to v0.5.8 in Debian.

`gemmi::GridSetup` has disappeared in Gemmi 0.5.3

Gemmi no longer contains gemmi::GridSetup, causing failures to build MMB from source. Next Debian/Ubuntu releases will have Gemmi 0.5.3 or later, thus I would suggest adapting MMB to the change in Gemmi's API.

Differences in parameters.csv

The repository contains three different variants of parameters.csv:

  • examples/parameters.csv
  • include/resources/parameters.csv
  • share/MMB_UI/parameters.csv

First two are nearly identical:

$ diff examples/parameters.csv include/resources/parameters.csv 
98c98
< ,RECORD,DG ,DA ,WatsonCrick,Hoogsteen,Cis,N9,C4,C8,,N9,C4,C8,,0,,,,-3,,,,5,-0.722461,-0.531117,0.0419362,1.69488,-0.0662644,-0.136665,-0.988399,baseInteraction,1.11,,
---
> ,RECORD,DG ,DA ,WatsonCrick,Hoogsteen,Cis,N9,C4,C8,,N9,C4,C8,,0,,,,-3,,,,5,-0.354536,0.885708,0.126182,1.57101,-0.00846233,-0.186297,0.982457      ,baseInteraction,1.16,,
100c100
< ,RECORD,DA ,DG ,WatsonCrick,Hoogsteen,Cis,N9,C4,C8,,N9,C4,C8,,0,,,,-3,,,,5,-0.459764,0.728308,0.0665503,1.46754,0.0669876,-0.24912,0.966153,baseInteraction,1.05,,
---
> ,RECORD,DA ,DG ,WatsonCrick,Hoogsteen,Cis,N9,C4,C8,,N9,C4,C8,,0,,,,-3,,,,5,-0.354536,0.885708,0.126182,1.57101,-0.00846233,-0.186297,0.982457      ,baseInteraction,1.16,,

Third one is 100 times smaller in size than the first two.

I wonder why they are different, and which of them should be used by default?

Missing git tags for releases

It seems that v3.4 has been released, but there are no git tags past v3.2. Could you please push the missing tags?

`Lepton_INCLUDE_DIR` needs adapting for Debian builds

I am building MMB v3.5 on Debian unstable. Lepton headers are not found unless I patch CMakeLists.txt:

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -45,7 +45,7 @@
 SET(OpenMM_INSTALL_DIR "" CACHE PATH
         "OpenMM install directory. Used to find libs.")
 #Add the OpenMM library
-SET(Lepton_INCLUDE_DIR "/3rdparty/Lepton1.3/include/" CACHE PATH
+SET(Lepton_INCLUDE_DIR "3rdparty/Lepton1.3/include/" CACHE PATH
        "Where to find Lepton includes")
 #Add the Gemmi library path
 SET(GEMMI_INCLUDE_DIR "" CACHE PATH

Seemingly, / is understood as filesystem root on Debian (all Linux?) systems. It may also be true that the problem is related to newer CMake version (v3.22.0 in Debian unstable right now). Could you please check whether the patch works in your builds as well?

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.