mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-04 21:54:27 +08:00
* get SynthonSpace.cpp to build also when RDK_USE_BOOST_SERIALIZATION is not defined * test should not fail when RDK_USE_BOOST_SERIALIZATION is not defined * - expose reading/writing PNG metadata to CFFI and MinimalLib - add relevant CFFI and MinimalLib unit tests - add RDK_USE_BOOST_PROGRAM_OPTIONS CMake option - enable using standalone zlib in the absence of boost::iostreams for parsing PNG files - enable linking against maeparser in the absence of boost::iostreams also on Windows - enable building RDKit in the absence of boost::program_options * add check for boost::program_options * change size_t into std::uint64_t in SearchResults for consistency with doTheSearch() which uses std::uint64_t * change size_t into std::uint64_t in SearchResults for consistency with SynthonSpaceSearcher::doTheSearch() * set CMake policy to allow YAeHMOP to require a version which is not actually supported * reverted External/YAeHMOP/CMakeLists.txt to master version * check if Windows build will work * fix build * configure zlib install location * build zlib dependency * include zlib header directory * explicitly set PropertyFlags.AllProps so the test does not fail on static builds --------- Co-authored-by: ptosco <paolo.tosco@novartis.com>
32 lines
1.0 KiB
C++
32 lines
1.0 KiB
C++
//
|
|
// Copyright (C) 2024 Novartis Biomedical Research and other RDKit contributors
|
|
//
|
|
// @@ All Rights Reserved @@
|
|
// This file is part of the RDKit.
|
|
// The contents are covered by the terms of the BSD license
|
|
// which is included in the file license.txt, found at the root
|
|
// of the RDKit source tree.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#include <GraphMol/FileParsers/PNGParser.h>
|
|
#include <GraphMol/MolOps.h>
|
|
|
|
namespace RDKit {
|
|
namespace MinimalLib {
|
|
|
|
void updatePropertyPickleOptionsFromJSON(unsigned int &propFlags,
|
|
const char *details_json);
|
|
|
|
void updateSanitizeFlagsFromJSON(unsigned int &sanitizeFlags,
|
|
const char *details_json);
|
|
|
|
void updateRemoveHsParametersFromJSON(MolOps::RemoveHsParameters &ps,
|
|
bool &sanitize, const char *details_json);
|
|
|
|
void updatePNGMetadataParamsFromJSON(PNGMetadataParams ¶ms,
|
|
const char *details_json);
|
|
} // end namespace MinimalLib
|
|
} // end namespace RDKit
|