Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
libcifpp
Commits
bc320715
Commit
bc320715
authored
May 18, 2021
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix cmake file
parent
3b2c5731
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
CMakeLists.txt
+1
-1
src/Compound.cpp
+2
-2
src/Secondary.cpp
+2
-2
No files found.
CMakeLists.txt
View file @
bc320715
...
@@ -44,7 +44,7 @@ endif(NOT SHARE_INSTALL_DIR)
...
@@ -44,7 +44,7 @@ endif(NOT SHARE_INSTALL_DIR)
set
(
Boost_DETAILED_FAILURE_MSG ON
)
set
(
Boost_DETAILED_FAILURE_MSG ON
)
# set (BOOST_ROOT ${PROJECT_SOURCE_DIR}/../boost_1_75_0)
# set (BOOST_ROOT ${PROJECT_SOURCE_DIR}/../boost_1_75_0)
set
(
Boost_COMPILER
"-vc"
)
#
set (Boost_COMPILER "-vc")
# set (Boost_USE_STATIC_RUNTIME ON)
# set (Boost_USE_STATIC_RUNTIME ON)
find_package
(
Boost 1.73.0 REQUIRED COMPONENTS system iostreams
)
find_package
(
Boost 1.73.0 REQUIRED COMPONENTS system iostreams
)
...
...
src/Compound.cpp
View file @
bc320715
...
@@ -519,7 +519,7 @@ class CCP4CompoundFactoryImpl : public CompoundFactoryImpl
...
@@ -519,7 +519,7 @@ class CCP4CompoundFactoryImpl : public CompoundFactoryImpl
CCP4CompoundFactoryImpl
::
CCP4CompoundFactoryImpl
(
const
fs
::
path
&
clibd_mon
,
CompoundFactoryImpl
*
next
)
CCP4CompoundFactoryImpl
::
CCP4CompoundFactoryImpl
(
const
fs
::
path
&
clibd_mon
,
CompoundFactoryImpl
*
next
)
:
CompoundFactoryImpl
(
next
)
:
CompoundFactoryImpl
(
next
)
,
mFile
(
clibd_mon
/
"list"
/
"mon_lib_list.cif"
)
,
mFile
(
(
clibd_mon
/
"list"
/
"mon_lib_list.cif"
).
string
()
)
,
mCLIBD_MON
(
clibd_mon
)
,
mCLIBD_MON
(
clibd_mon
)
{
{
const
std
::
regex
peptideRx
(
"(?:[lmp]-)?peptide"
,
std
::
regex
::
icase
);
const
std
::
regex
peptideRx
(
"(?:[lmp]-)?peptide"
,
std
::
regex
::
icase
);
...
@@ -559,7 +559,7 @@ Compound *CCP4CompoundFactoryImpl::create(const std::string &id)
...
@@ -559,7 +559,7 @@ Compound *CCP4CompoundFactoryImpl::create(const std::string &id)
if
(
fs
::
exists
(
resFile
))
if
(
fs
::
exists
(
resFile
))
{
{
cif
::
File
cf
(
resFile
);
cif
::
File
cf
(
resFile
.
string
()
);
// locate the datablock
// locate the datablock
auto
&
db
=
cf
[
"comp_"
+
id
];
auto
&
db
=
cf
[
"comp_"
+
id
];
...
...
src/Secondary.cpp
View file @
bc320715
...
@@ -182,8 +182,8 @@ struct Res
...
@@ -182,8 +182,8 @@ struct Res
,
mChainBreak
(
brk
)
,
mChainBreak
(
brk
)
{
{
// update the box containing all atoms
// update the box containing all atoms
mBox
[
0
].
mX
=
mBox
[
0
].
mY
=
mBox
[
0
].
mZ
=
std
::
numeric_limits
<
double
>::
max
();
mBox
[
0
].
mX
=
mBox
[
0
].
mY
=
mBox
[
0
].
mZ
=
std
::
numeric_limits
<
float
>::
max
();
mBox
[
1
].
mX
=
mBox
[
1
].
mY
=
mBox
[
1
].
mZ
=
-
std
::
numeric_limits
<
double
>::
max
();
mBox
[
1
].
mX
=
mBox
[
1
].
mY
=
mBox
[
1
].
mZ
=
-
std
::
numeric_limits
<
float
>::
max
();
mH
=
mmcif
::
Point
{
std
::
numeric_limits
<
float
>::
max
(),
std
::
numeric_limits
<
float
>::
max
(),
std
::
numeric_limits
<
float
>::
max
()
};
mH
=
mmcif
::
Point
{
std
::
numeric_limits
<
float
>::
max
(),
std
::
numeric_limits
<
float
>::
max
(),
std
::
numeric_limits
<
float
>::
max
()
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment