model

package
v0.1.0-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2017 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

View Source
const (
	STATUS_NOT_EXISTS = -1
	STATUS_PENDING    = 0
	STATUS_RUNNING    = 1
	STATUS_FINISHED   = 2
	STATUS_ERROR      = 3
	STATUS_CANCELED   = 4
	STATUS_TIMEOUT    = 5
)

Variables

This section is empty.

Functions

func StatusStr

func StatusStr(status int) string

Types

type Analysis

type Analysis struct {
	Id           string `json:"id"`           // sha256 sum of reftree and boottree files
	Reffile      string `json:"-"`            // reftree original file (to be able to close it)
	Bootfile     string `json:"-"`            // bootstrap original file (to be able to close it)
	Result       string `json:"result"`       // resulting newick tree with support
	Status       int    `json:"status"`       // status code of the analysis
	StatusStr    string `json:"statusstr"`    // status of the analysis (string)
	Message      string `json:"message"`      // error message if any
	Nboot        int    `json:"nboot"`        // number of trees that have been processed
	Collapsed    string `json:"collapsed"`    // Newick representation of collapsed resulting tree if any
	StartPending string `json:startpending`   // Analysis queue time
	StartRunning string `json:"startrunning"` // Analysis Start running time
	End          string `json:"end"`          // Analysis End time
}

func (*Analysis) DelTemp

func (a *Analysis) DelTemp()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL