Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(17)  |  Call(17)  |  Derive(0)  |  Import(0)

src/b/i/biskit-2.4/scripts/Mod/modelling_example.py   biskit(Download)
## get filenames of all models 
models = glob.glob( '%s/modeller/%s*.pdb'%(outFolder,
                                           tools.stripFilename(f_target)) )
 
## create a Trajectory object with the models

src/b/i/biskit-2.4/scripts/Biskit/dope.py   biskit(Download)
 
    outFile = os.path.dirname( inFile ) + '/' + prefix +\
            T.stripFilename( inFile ) + '.model' 
 
    T.dump( model, outFile )

src/b/i/biskit-2.4/scripts/Dock/concat_complexLists.py   biskit(Download)
                models[j].keep( i2 )
 
                f1 = T.stripFilename( m1.sourceFile() )
                f2 = T.stripFilename( m2.sourceFile() )
 

src/b/i/biskit-2.4/scripts/Dock/selectModels.py   biskit(Download)
 
        m = dumpModel(m, options, saveIn +
                  T.stripFilename(result.frameNames[i]) +'.model' )
 
        model_dic[dic_index] = m

src/b/i/biskit-2.4/Biskit/Dock/Docker.py   biskit(Download)
                if self.verbose:
                    print "Executing on ", self.host, ' with ', \
                          t.stripFilename(self.finp)
                    print "Command: ", self.cmd
 
    def failed( self ):
        """
        If HEX job fails
        """
        print "FAILED: ", self.host, ' ', t.stripFilename(self.finp)

src/b/i/biskit-2.4/scripts/Biskit/replace_wildcard_import.py   biskit(Download)
            if occurrences > 0:
                t.errWriteln( '%s %5i %2i matches:\n\t%s' %
                              (t.stripFilename(fname), i, occurrences, l) )
 
            fnew.write( l )

src/b/i/biskit-2.4/Biskit/Dock/hexTools.py   biskit(Download)
    """
    ## files and names
    recCode = t.stripFilename( recPdb )[0:4]          
    ligCode = t.stripFilename( ligPdb )[0:4]
 

src/b/i/biskit-2.4/Biskit/Mod/Modeller.py   biskit(Download)
 
            file_output.write('%s\t%6.2f\n'%(T.stripFilename(
                model.validSource()), model.info["mod_score"]))
 
        file_output.close()

src/b/i/biskit-2.4/Biskit/ChainSeparator.py   biskit(Download)
        @rtype: str
        """
        return T.stripFilename(self.pdb.filename)
 
 

src/b/i/biskit-2.4/Biskit/PDBParseFile.py   biskit(Download)
        @rtype: str
        """
        name = T.stripFilename( fname )
 
        if len( name ) > 3:
            except ValueError, what:
                 self.log.add('Warning: Error parsing line %i of %s' %
                              (i, T.stripFilename( fname )) )
                 self.log.add('\tError: '+str(what) )
                 continue
                    except ValueError, what:
                        self.log.add('Warning: Error parsing line %i of %s' %
                                     (i, T.stripFilename( fname )) )
                        self.log.add('\tError: '+str(what) )
                        continue

  1 | 2  Next