PEATDB/Base.py
def newmolecule(self,protein_name,update=True):
        """
        This function files a new molecule in the Database
        protein_name is the name of the molecule (DB identifier)
        Enter all the data in dict into the database
        """
        if self.isknownProtein(protein_name):
            return None
        else:
            self.add(protein_name)
        return True

        This function files a new molecule in the Database
        protein_name is the name of the molecule (DB identifier)
        Enter all the data in dict into the database
        
This function files a new molecule in the Database
protein_name is the name of the molecule (DB identifier)
Enter all the data in dict into the database
This function files a new molecule in the Database protein_name is the name of the molecule ( DB identifier ) Enter all the data in dict into the database
def newmolecule(self,protein_name,update=True):
        if self.isknownProtein(protein_name):
            return None
        else:
            self.add(protein_name)
        return True
def newmolecule ( self , protein_name , update = True ) : if self . isknownProtein ( protein_name ) : return None else : self . add ( protein_name ) return True
This function files a new molecule in the Database
protein_name is the name of the molecule (DB identifier)
Enter all the data in dict into the database
This function files a new molecule in the Database protein_name is the name of the molecule ( DB identifier ) Enter all the data in dict into the database
"""
        This function files a new molecule in the Database
        protein_name is the name of the molecule (DB identifier)
        Enter all the data in dict into the database
        """
self
protein_name
update