Changeset 5061d9
- Timestamp:
- Apr 23, 2021, 9:01:20 PM (5 years ago)
- Branches:
- Candidate_v1.7.0, Candidate_v1.7.1, stable
- Children:
- 0ec9f5
- Parents:
- cd79d0
- git-author:
- Frederik Heber <frederik.heber@…> (04/02/21 09:09:37)
- git-committer:
- Frederik Heber <frederik.heber@…> (04/23/21 21:01:20)
- Files:
-
- 8 added
- 9 edited
- 1 moved
-
doc/userguide/userguide.xml (modified) (1 diff)
-
src/Actions/GlobalListOfActions.hpp (modified) (1 diff)
-
src/Actions/GraphAction/PrintSelectedAtomsAsGraphStringAction.cpp (added)
-
src/Actions/GraphAction/PrintSelectedAtomsAsGraphStringAction.def (added)
-
src/Actions/GraphAction/PrintSelectedAtomsAsGraphStringAction.hpp (added)
-
src/Actions/Makefile.am (modified) (3 diffs)
-
src/Graph/Graph6Writer.cpp (added)
-
src/Graph/Graph6Writer.hpp (added)
-
src/Graph/Makefile.am (modified) (2 diffs)
-
src/Python/Makefile.am (modified) (1 diff)
-
src/Python/PythonScripting_impl.hpp (modified) (1 diff)
-
src/Python/getGraph6String.cpp (added)
-
src/Python/modules.hpp (modified) (2 diffs)
-
tests/regression/Graph/ChemicalSpaceEvaluator/testsuite-graph-chemical-space-evaluator.at (moved) (moved from tests/regression/Graph/ChemicalSpaceEvaluator/testsuite-chemical-space-evaluator.at )
-
tests/regression/Graph/PrintSelectedAtomsAsGraphString/pre/test.data (added)
-
tests/regression/Graph/PrintSelectedAtomsAsGraphString/testsuite-graph-print-selected-atoms-as-graphstring.at (added)
-
tests/regression/Graph/testsuite-graph.at (modified) (1 diff)
-
tests/regression/Makefile.am (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
doc/userguide/userguide.xml
rcd79d0 r5061d9 1354 1354 to produce all associated molecules.</para> 1355 1355 </section> 1356 <section xml:id="bond.print-selected-atoms-as-graphstring"> 1357 <title xml:id="bond.print-selected-atoms-as-graphstring.title">Print selected atoms as graph6 string</title> 1358 <para>In the light of the last section it would also be useful to obtain 1359 the graph6 representation of a present set of atoms, e.g., those belonging 1360 to a molecule. The following command will print the graph6 string to the 1361 console for all currently present atoms. 1362 <programlisting>--select-all-atoms \ 1363 --print-selected-atoms-as-graphstring</programlisting> 1364 </para> 1365 </section> 1356 1366 </section> 1357 1367 <section xml:id="molecule"> -
src/Actions/GlobalListOfActions.hpp
rcd79d0 r5061d9 83 83 (GraphDepthFirstSearch) \ 84 84 (GraphDestroyAdjacency) \ 85 (GraphPrintSelectedAtomsAsGraphString) \ 85 86 (GraphSubgraphDissection) \ 86 87 (MoleculeBondFile) \ -
src/Actions/Makefile.am
rcd79d0 r5061d9 323 323 Actions/GraphAction/DepthFirstSearchAction.cpp \ 324 324 Actions/GraphAction/DestroyAdjacencyAction.cpp \ 325 Actions/GraphAction/PrintSelectedAtomsAsGraphStringAction.cpp \ 325 326 Actions/GraphAction/SubgraphDissectionAction.cpp \ 326 327 Actions/GraphAction/UpdateMoleculesAction.cpp … … 331 332 Actions/GraphAction/DepthFirstSearchAction.hpp \ 332 333 Actions/GraphAction/DestroyAdjacencyAction.hpp \ 334 Actions/GraphAction/PrintSelectedAtomsAsGraphStringAction.hpp \ 333 335 Actions/GraphAction/SubgraphDissectionAction.hpp \ 334 336 Actions/GraphAction/UpdateMoleculesAction.hpp … … 339 341 Actions/GraphAction/DepthFirstSearchAction.def \ 340 342 Actions/GraphAction/DestroyAdjacencyAction.def \ 343 Actions/GraphAction/PrintSelectedAtomsAsGraphStringAction.def \ 341 344 Actions/GraphAction/SubgraphDissectionAction.def \ 342 345 Actions/GraphAction/UpdateMoleculesAction.def -
src/Graph/Makefile.am
rcd79d0 r5061d9 11 11 Graph/CyclicStructureAnalysis.cpp \ 12 12 Graph/DepthFirstSearchAnalysis.cpp \ 13 Graph/Graph6Reader.cpp 13 Graph/Graph6Reader.cpp \ 14 Graph/Graph6Writer.cpp 14 15 15 16 GRAPHHEADER = \ … … 25 26 Graph/DepthFirstSearchAnalysis.hpp \ 26 27 Graph/Graph6Reader.hpp \ 28 Graph/Graph6Writer.hpp \ 27 29 Graph/ListOfLocalAtoms.hpp 28 30 -
src/Python/Makefile.am
rcd79d0 r5061d9 6 6 Python/getBoundingBox.cpp \ 7 7 Python/getDomainVolume.cpp \ 8 Python/getGraph6String.cpp \ 8 9 Python/getSelectedAtomElements.cpp \ 9 10 Python/getSelectedAtomIds.cpp \ -
src/Python/PythonScripting_impl.hpp
rcd79d0 r5061d9 90 90 "Waits until all currently queued actions have been processed." 91 91 ); 92 boost::python::def< std::string() >( 93 "getGraph6String", 94 MoleCuilder::detail::module_getGraph6String, 95 "returns chemical graph of the current selected set of atoms as graph6 representation." 96 ); 97 boost::python::def< std::string() >( 98 "getElementListAsString", 99 MoleCuilder::detail::module_getElementListAsString, 100 "returns list of elements over the nodes of the graph of the current selected set of atoms." 101 ); 92 102 boost::python::def< MoleCuilder::detail::doubleVec() >( 93 103 "getBoundingBox", -
src/Python/modules.hpp
rcd79d0 r5061d9 14 14 #endif 15 15 16 #include <string> 16 17 #include <vector> 17 18 … … 38 39 double module_getSelectedMolarMass(); 39 40 41 std::string module_getGraph6String(); 42 std::string module_getElementListAsString(); 43 40 44 } /* namespace detail */ 41 45 -
tests/regression/Graph/testsuite-graph.at
rcd79d0 r5061d9 35 35 36 36 # evaluate the chemical space of a given graph 37 m4_include([Graph/ChemicalSpaceEvaluator/testsuite-chemical-space-evaluator.at]) 37 m4_include([Graph/ChemicalSpaceEvaluator/testsuite-graph-chemical-space-evaluator.at]) 38 39 # print selected atoms as graph6 40 m4_include(Graph/PrintSelectedAtomsAsGraphString/testsuite-graph-print-selected-atoms-as-graphstring.at) -
tests/regression/Makefile.am
rcd79d0 r5061d9 137 137 $(srcdir)/Geometry/Remove/testsuite-geometry-remove.at \ 138 138 $(srcdir)/Graph/testsuite-graph.at \ 139 $(srcdir)/Graph/ChemicalSpaceEvaluator/testsuite- chemical-space-evaluator.at \139 $(srcdir)/Graph/ChemicalSpaceEvaluator/testsuite-graph-chemical-space-evaluator.at \ 140 140 $(srcdir)/Graph/CreateAdjacency/testsuite-graph-create-adjacency.at \ 141 141 $(srcdir)/Graph/DepthFirstSearch/testsuite-graph-depth-first-search.at \ 142 142 $(srcdir)/Graph/DestroyAdjacency/testsuite-graph-destroy-adjacency.at \ 143 $(srcdir)/Graph/PrintSelectedAtomsAsGraphString/testsuite-graph-print-selected-atoms-as-graphstring.at \ 143 144 $(srcdir)/Graph/SubgraphDissection/testsuite-graph-subgraph-dissection.at \ 144 145 $(srcdir)/Graph/SubgraphDissection-BoundaryConditions/testsuite-graph-subgraph-dissection_boundary-conditions.at \
Note:
See TracChangeset
for help on using the changeset viewer.
