From 2f077b181d61ed78822f5ced4c0a3dde4cf8a276 Mon Sep 17 00:00:00 2001 From: Jacob Heflin Date: Fri, 6 Sep 2024 16:08:36 -0500 Subject: [PATCH] tested other property types --- .gitignore | 2 +- src/python/export_ghostfragment.cpp | 15 +++------------ 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 44d99644..f725984f 100644 --- a/.gitignore +++ b/.gitignore @@ -32,7 +32,7 @@ __pycache__ # These are directories used by IDEs for storing settings .idea/ .vscode/ - +.cache/ # These are common Python virtual enviornment directory names venv/ docs/venv/ diff --git a/src/python/export_ghostfragment.cpp b/src/python/export_ghostfragment.cpp index fa85d81e..2df0bee4 100644 --- a/src/python/export_ghostfragment.cpp +++ b/src/python/export_ghostfragment.cpp @@ -27,27 +27,18 @@ #include #include -namespace ghostfragment::pt { +namespace ghostfragment { EXPORT_PLUGIN(ghostfragment, m) { + + using namespace pt; EXPORT_PROPERTY_TYPE(CappedFragments, m); -// EXPORT_PROPERTY_TYPE(pt::CappedFragmentsTraits, m); - EXPORT_PROPERTY_TYPE(NuclearGraphToFragments, m); -// EXPORT_PROPERTY_TYPE(pt::NuclearGraphToFragmentsTraits, m); - EXPORT_PROPERTY_TYPE(NuclearGraph, m); -// EXPORT_PROPERTY_TYPE(pt::NuclearGraphTraits, m); EXPORT_PROPERTY_TYPE(FragmentedNuclei, m); -// EXPORT_PROPERTY_TYPE(pt::FragmentedNucleiTraits, m); EXPORT_PROPERTY_TYPE(FragmentedChemicalSystem, m); -// EXPORT_PROPERTY_TYPE(pt::FragmentedChemicalSystemTraits, m); EXPORT_PROPERTY_TYPE(FragmentWeights, m); -// EXPORT_PROPERTY_TYPE(pt::FragmentWeightsTraits, m); EXPORT_PROPERTY_TYPE(ConnectivityTable, m); -// EXPORT_PROPERTY_TYPE(pt::ConnectivityTableTraits, m); EXPORT_PROPERTY_TYPE(BrokenBonds, m); -// EXPORT_PROPERTY_TYPE(pt::BrokenBondsTraits, m); EXPORT_PROPERTY_TYPE(Intersections, m); -// EXPORT_PROPERTY_TYPE(pt::IntersectionTraits, m); } } // namespace ghostfragment