This is the main class for the panel, to show the panel simply create
an instance of this class.
|
__init__(self,
enum_only=False,
default_collection=None,
create_qapp=True,
untangle=True,
jobname=None,
quiet_launch=False,
close_on_launch=False,
write_files_only=False) |
|
|
|
|
|
initializeGrowers(self)
Initialize the mmfrag and mmbuild libraries to prepare for growing
fragments |
|
|
tuple
|
growMethyl(self,
struct,
atom1,
atom2)
Grow a methyl in the forward direction |
|
|
tuple
|
growFluoro(self,
struct,
atom1,
atom2)
Grow a fluorine in the forward direction |
|
|
tuple
|
growFragmentForward(self,
handle,
fragment,
struct,
atom1,
atom2)
Grow a fragment in the forward direction |
|
|
str
|
ensureValidCollectionTitles(self,
filename)
Check all the fragment titles in filename and create a new file with
valid (non-duplicate, non-blank) titles if the original file contains
duplicate or blank titles. |
|
|
|
setDefaultCollection(self,
filenameTxt=None) |
|
|
|
clearDefaultCollection(self) |
|
|
|
setComblibDir(self,
comblibDir) |
|
|
|
openCollectionPanel(self) |
|
|
|
browse_for_collection_dir(self) |
|
|
|
scan_collection_dir(self,
directory) |
|
|
|
|
|
|
|
|
|
|
|
clearCollection(self,
clearSelection=True) |
|
|
|
|
|
getPTGroupnameCollection(self) |
|
|
|
getPTGroupnamePalette(self) |
|
|
|
updateLibraryCounts(self) |
|
|
|
loadZoomStruct(self,
index) |
|
|
|
|
|
collectionRefreshed(self) |
|
|
|
collectionChanged(self)
A slot to be called by the 2d-viewer collection table |
|
|
|
|
|
|
|
checkForPaletteChanges(self) |
|
|
|
|
|
savePalette(self,
filename) |
|
|
|
checkForCollectionChanges(self) |
|
|
|
|
|
|
|
|
|
|
|
|
|
fragImportFromSketcher(self) |
|
|
|
importFragmentCollection(self) |
|
|
|
makeAllTitlesUnique(self)
Make sure all fragment titles are unique and non-blank |
|
|
|
setFragmentCollection(self,
filenameTxt)
This function assumes that we *know for sure* we want to load the
collection - anything that calls this function is presumed to have
already prompted the user to save changes if necessary. |
|
|
|
exportCombLibSelectFile(self) |
|
|
|
exportCoreSelectFile(self) |
|
|
|
|
|
|
|
importCombLibSelectFile(self,
filenameTxt="") |
|
|
|
checkForCombLibChanges(self,
autoSave=False) |
|
|
|
|
|
|
|
saveCurrentCollection(self,
filename) |
|
|
|
saveCurrentCombLibDef(self,
filename) |
|
|
|
createCombLibSelectFile(self,
struct=None,
checkChanges=True,
src=None) |
|
|
|
createRowInCollectionTable(self,
from_atom,
to_atom,
row,
aname,
r_num,
rpath,
minLink,
maxLink,
bondToH=False) |
|
|
|
loadStructIntoStructView(self,
struct) |
|
|
|
doubleClickTable(self,
row,
column) |
|
|
|
contextMenuRequested(self,
pos) |
|
|
|
getCollectionFilename(self,
oldFilename="") |
|
|
|
applyCurrentCollection(self,
item=None) |
|
|
|
applyCurrentSelection(self,
item=None) |
|
|
|
browseForNewCollection(self,
item) |
|
|
|
appendNewCollection(self,
item) |
|
|
|
countTotalStructures(self)
Count the total number of structures that will be enumerated and
update the feedback widget |
|
|
|
exportCollection(self,
askToAssociate=True) |
|
|
|
renameCollection(self,
item) |
|
|
|
deleteCollectionRow(self,
item) |
|
|
|
|
|
validateLinkerChange(self,
row,
column)
Check any edits the user makes to one of the linker cells in the
Collection Table to make sure it is a positive integer and the min
< max |
|
|
|
|
|
|
|
|
|
|
|
getCoreCBChanged(self,
str) |
|
|