Changeset 5061d9 for src


Ignore:
Timestamp:
Apr 23, 2021, 9:01:20 PM (5 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.0, 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)
Message:

Added action to print selected atoms as graph6 string.

Location:
src
Files:
6 added
6 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/GlobalListOfActions.hpp

    rcd79d0 r5061d9  
    8383  (GraphDepthFirstSearch) \
    8484  (GraphDestroyAdjacency) \
     85  (GraphPrintSelectedAtomsAsGraphString) \
    8586  (GraphSubgraphDissection) \
    8687  (MoleculeBondFile) \
  • src/Actions/Makefile.am

    rcd79d0 r5061d9  
    323323  Actions/GraphAction/DepthFirstSearchAction.cpp \
    324324  Actions/GraphAction/DestroyAdjacencyAction.cpp \
     325  Actions/GraphAction/PrintSelectedAtomsAsGraphStringAction.cpp \
    325326  Actions/GraphAction/SubgraphDissectionAction.cpp \
    326327  Actions/GraphAction/UpdateMoleculesAction.cpp
     
    331332  Actions/GraphAction/DepthFirstSearchAction.hpp \
    332333  Actions/GraphAction/DestroyAdjacencyAction.hpp \
     334  Actions/GraphAction/PrintSelectedAtomsAsGraphStringAction.hpp \
    333335  Actions/GraphAction/SubgraphDissectionAction.hpp \
    334336  Actions/GraphAction/UpdateMoleculesAction.hpp
     
    339341  Actions/GraphAction/DepthFirstSearchAction.def \
    340342  Actions/GraphAction/DestroyAdjacencyAction.def \
     343  Actions/GraphAction/PrintSelectedAtomsAsGraphStringAction.def \
    341344  Actions/GraphAction/SubgraphDissectionAction.def \
    342345  Actions/GraphAction/UpdateMoleculesAction.def
  • src/Graph/Makefile.am

    rcd79d0 r5061d9  
    1111        Graph/CyclicStructureAnalysis.cpp \
    1212        Graph/DepthFirstSearchAnalysis.cpp \
    13         Graph/Graph6Reader.cpp
     13        Graph/Graph6Reader.cpp \
     14        Graph/Graph6Writer.cpp
    1415
    1516GRAPHHEADER = \
     
    2526        Graph/DepthFirstSearchAnalysis.hpp \
    2627        Graph/Graph6Reader.hpp \
     28        Graph/Graph6Writer.hpp \
    2729        Graph/ListOfLocalAtoms.hpp
    2830
  • src/Python/Makefile.am

    rcd79d0 r5061d9  
    66        Python/getBoundingBox.cpp \
    77        Python/getDomainVolume.cpp \
     8        Python/getGraph6String.cpp \
    89        Python/getSelectedAtomElements.cpp \
    910        Python/getSelectedAtomIds.cpp \
  • src/Python/PythonScripting_impl.hpp

    rcd79d0 r5061d9  
    9090      "Waits until all currently queued actions have been processed."
    9191  );
     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  );
    92102  boost::python::def< MoleCuilder::detail::doubleVec() >(
    93103      "getBoundingBox",
  • src/Python/modules.hpp

    rcd79d0 r5061d9  
    1414#endif
    1515
     16#include <string>
    1617#include <vector>
    1718
     
    3839double module_getSelectedMolarMass();
    3940
     41std::string module_getGraph6String();
     42std::string module_getElementListAsString();
     43
    4044} /* namespace detail */
    4145
Note: See TracChangeset for help on using the changeset viewer.