def handle_command(self, species_obj, revdetail, *args, **options):
        if not options["name"]:
            raise CommandError("name argument is mandatory")

        species_obj.name = options["name"]
        species_obj.save(revdetail)

        from cyano.models import Pathway
        Pathway.add_boehringer_pathway(species_obj, revdetail)
    def handle_command(self, species_obj, revdetail, *args, **options):
        if not options["name"]:
            raise CommandError("name argument is mandatory")
 
        species_obj.name = options["name"]
        species_obj.save(revdetail)

        from cyano.models import Pathway
        Pathway.add_boehringer_pathway(species_obj, revdetail)
 def handle_command(self, species, revdetail, *args, **options):        
     Pathway.add_kegg_pathway(species, revdetail)
    def handle_command(self, species, revdetail, *args, **options):
        Pathway.add_boehringer_pathway(species, revdetail)

        self.stdout.write("Boehringer Pathway assigned")
    def handle_command(self, species, revdetail, *args, **options):
        Pathway.add_boehringer_pathway(species, revdetail)

        self.stdout.write("Boehringer Pathway assigned")
Exemple #6
0
 def handle_command(self, species, revdetail, *args, **options):
     Pathway.add_kegg_pathway(species, revdetail)