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
098f3fd4
Unverified
Commit
098f3fd4
authored
Dec 21, 2022
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIx compound factory stacking
parent
5476eef0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/compound.cpp
+2
-2
No files found.
src/compound.cpp
View file @
098f3fd4
...
@@ -677,13 +677,13 @@ compound_factory::compound_factory()
...
@@ -677,13 +677,13 @@ compound_factory::compound_factory()
{
{
auto
ccd
=
cif
::
load_resource
(
"components.cif"
);
auto
ccd
=
cif
::
load_resource
(
"components.cif"
);
if
(
ccd
)
if
(
ccd
)
m_impl
.
reset
(
new
CCD_compound_factory_impl
(
m_impl
)
);
m_impl
=
std
::
make_shared
<
CCD_compound_factory_impl
>
(
m_impl
);
else
if
(
cif
::
VERBOSE
>
0
)
else
if
(
cif
::
VERBOSE
>
0
)
std
::
cerr
<<
"CCD components.cif file was not found"
<<
std
::
endl
;
std
::
cerr
<<
"CCD components.cif file was not found"
<<
std
::
endl
;
const
char
*
clibd_mon
=
getenv
(
"CLIBD_MON"
);
const
char
*
clibd_mon
=
getenv
(
"CLIBD_MON"
);
if
(
clibd_mon
!=
nullptr
and
fs
::
is_directory
(
clibd_mon
))
if
(
clibd_mon
!=
nullptr
and
fs
::
is_directory
(
clibd_mon
))
m_impl
.
reset
(
new
CCP4_compound_factory_impl
(
clibd_mon
)
);
m_impl
=
std
::
make_shared
<
CCP4_compound_factory_impl
>
(
clibd_mon
,
m_impl
);
else
if
(
cif
::
VERBOSE
>
0
)
else
if
(
cif
::
VERBOSE
>
0
)
std
::
cerr
<<
"CCP4 monomers library not found, CLIBD_MON is not defined"
<<
std
::
endl
;
std
::
cerr
<<
"CCP4 monomers library not found, CLIBD_MON is not defined"
<<
std
::
endl
;
}
}
...
...
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