import module_manager module_manager.review() import pygame class Player(object): def __init__(self, winW, winH, w, h, groundH): #dimensions self.screenW, self.screenH = winW, winH self.radius = 50 #image radius for scaling self.w, self.h = w, h self.groundH = groundH #player position self.x = winW / 2 self.y = winH - groundH - self.h / 2 self.xVel = 10 #x velocity self.yVel = 10 #y velocity self.charBox = (self.x - self.w * self.radius / 2, self.y - self.h * self.radius / 2, self.w, self.h) #upload images self.standing = pygame.image.load('stand.png') self.jump = pygame.image.load('jump.png') self.walk = [ pygame.image.load('walk_1.png'), self.standing, pygame.image.load('walk_2.png'), self.standing ] self.firing = pygame.image.load('firing.png')
def FASTAtest(self, fileName): #test of FASTA translation testTranslator = FASTA(fileName) final = testTranslator.getSequence() module_manager.review() return final
def FASTAtest(self,fileName): testTranslator = FASTA(fileName) final = testTranslator.getSequence() module_manager.review() print(final)
def FASTAtest(): testTranslator = FASTATranslator("FADS.fasta") final = testTranslator.getSequence() module_manager.review() print(final)