ó
Ñ%�Tc           @   s!  d  Z  d d l m Z d d l m Z d d l m Z d d l m	 Z
 d d l m Z m Z d d l m Z d d l m Z m Z m Z d d	 l m Z d d
 l m Z d d l m Z d d l m	 Z y d d l m Z Wn e k
 rø d „  Z n Xd „  Z d „  Z d „  Z  d „  Z! d S(   s   This module is a simple wrapper for RCrane modules to make RCrane easy to import and to avoid polluting Coot's Python namespaceiÿÿÿÿ(   t   TraceGui(   t   createAboutDialog(   t	   pickAtoms(   t   storeMenuItem(   t   setRotamerizeMaxNucleotidest   getRotamerizeMaxNucleotides(   t   dontShowPopup(   t   disablePhenixRestraintst   enablePhenixRestraintst   usingPhenixRestraints(   t   createRCraneMenu(   t   checkCootAndReportErrors(   t   enableDebuggingc           C   s   t  S(   N(   t   False(    (    (    sV   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/python2.7/site-packages/coot/rcrane/__init__.pyR   #   s    c           C   s   t  d d ƒ S(   Nt	   directioni   (   t   newTrace(    (    (    sV   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/python2.7/site-packages/coot/rcrane/__init__.pyt   <lambda>%   s    c           C   s   t  d d ƒ S(   NR   i   (   R   (    (    (    sV   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/python2.7/site-packages/coot/rcrane/__init__.pyR   '   s    c           C   s   t  d t ƒ S(   Nt   ignoreDensity(   t   newRotamerizet   True(    (    (    sV   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/python2.7/site-packages/coot/rcrane/__init__.pyR   )   s    c           C   s   t  ƒ  r t ƒ  t St Sd S(   sÍ   If Coot passes the RCrane pre-launch checks, then create the RCrane menu.
    
    ARGUMENTS:
        None
    RETURNS:
        True if Coot passed the RCrane pre-launch checks
        False otherwise
    N(   R   R
   R   R   (    (    (    sV   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/python2.7/site-packages/coot/rcrane/__init__.pyt   createRCraneMenuWithCheck,   s    
	N("   t   __doc__t   traceGuiR    R   t   aboutR   t
   rotamerizeR   R   R   t   storeRotamerizeMenuItemR   R   t   citationPopupR   t   dontShowCitationPopupt
   calcCoordsR   R   R	   t   menuR
   t   preLaunchCheckR   t   extendChaint   newExtendChaint   storeExtendChainMenuItemt   debugR   t   ImportErrort   newTrace5to3t   newTrace3to5t   newRotamerizeWithoutDensityR   (    (    (    sV   /public2/ftp/pub/ccp4/6.5/ccp4-6.5/lib/python2.7/site-packages/coot/rcrane/__init__.pyt   <module>   s&   			