Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
9269871f
Commit
9269871f
authored
7 years ago
by
Gerardo Tauriello
Browse files
Options
Downloads
Patches
Plain Diff
Set lddt binary version to OST version
parent
7f9cc44b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/mol/alg/src/lddt.cc
+3
-2
3 additions, 2 deletions
modules/mol/alg/src/lddt.cc
with
3 additions
and
2 deletions
modules/mol/alg/src/lddt.cc
+
3
−
2
View file @
9269871f
...
@@ -40,6 +40,7 @@
...
@@ -40,6 +40,7 @@
#include
<ost/platform.hh>
#include
<ost/platform.hh>
#include
<ost/log.hh>
#include
<ost/log.hh>
#include
<ost/mol/alg/consistency_checks.hh>
#include
<ost/mol/alg/consistency_checks.hh>
#include
<ost/version.hh>
#if defined(__APPLE__)
#if defined(__APPLE__)
#include
<mach-o/dyld.h>
#include
<mach-o/dyld.h>
...
@@ -153,7 +154,7 @@ CompoundLibPtr load_compound_lib(const String& custom_path)
...
@@ -153,7 +154,7 @@ CompoundLibPtr load_compound_lib(const String& custom_path)
#endif
#endif
#endif
#endif
if
(
exe_path
.
empty
())
{
if
(
exe_path
.
empty
())
{
std
::
cerr
<<
"Could not determine the path of the
molck
executable. Will only "
std
::
cerr
<<
"Could not determine the path of the
lddt
executable. Will only "
"look for compounds.chemlib in the current working directory"
<<
std
::
endl
;
"look for compounds.chemlib in the current working directory"
<<
std
::
endl
;
}
else
{
}
else
{
fs
::
path
path_and_exe
(
exe_path
);
fs
::
path
path_and_exe
(
exe_path
);
...
@@ -187,7 +188,7 @@ bool is_resnum_in_globalrdmap(const ResNum& resnum, const GlobalRDMap& glob_dist
...
@@ -187,7 +188,7 @@ bool is_resnum_in_globalrdmap(const ResNum& resnum, const GlobalRDMap& glob_dist
int
main
(
int
argc
,
char
**
argv
)
int
main
(
int
argc
,
char
**
argv
)
{
{
// sets some default values for parameters
// sets some default values for parameters
String
version
=
"1.2"
;
String
version
=
OST_VERSION_STRING
;
Real
bond_tolerance
=
12.0
;
Real
bond_tolerance
=
12.0
;
Real
angle_tolerance
=
12.0
;
Real
angle_tolerance
=
12.0
;
Real
radius
=
15.0
;
Real
radius
=
15.0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment