aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/base')
-rw-r--r--wqflask/base/data_set.py1
-rw-r--r--wqflask/base/mrna_assay_tissue_data.py1
-rw-r--r--wqflask/base/species.py3
-rw-r--r--wqflask/base/webqtlCaseData.py3
4 files changed, 6 insertions, 2 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index 55ab45f5..c14808d6 100644
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -311,7 +311,6 @@ class HumanMarkers(Markers):
marker['Mb'] = float(splat[3]) / 1000000
self.markers.append(marker)
-
def add_pvalues(self, p_values):
super(HumanMarkers, self).add_pvalues(p_values)
diff --git a/wqflask/base/mrna_assay_tissue_data.py b/wqflask/base/mrna_assay_tissue_data.py
index f3264b3d..cbc05738 100644
--- a/wqflask/base/mrna_assay_tissue_data.py
+++ b/wqflask/base/mrna_assay_tissue_data.py
@@ -11,6 +11,7 @@ from utility.db_tools import escape
from utility.logger import getLogger
logger = getLogger(__name__)
+
class MrnaAssayTissueData:
def __init__(self, gene_symbols=None):
diff --git a/wqflask/base/species.py b/wqflask/base/species.py
index cf764d72..44f133b5 100644
--- a/wqflask/base/species.py
+++ b/wqflask/base/species.py
@@ -6,6 +6,7 @@ from flask import Flask, g
from utility.logger import getLogger
logger = getLogger(__name__)
+
class TheSpecies:
def __init__(self, dataset=None, species_name=None):
if species_name != None:
@@ -15,6 +16,7 @@ class TheSpecies:
self.dataset = dataset
self.chromosomes = Chromosomes(dataset=self.dataset)
+
class IndChromosome:
def __init__(self, name, length):
self.name = name
@@ -25,6 +27,7 @@ class IndChromosome:
"""Chromosome length in megabases"""
return self.length / 1000000
+
class Chromosomes:
def __init__(self, dataset=None, species=None):
self.chromosomes = collections.OrderedDict()
diff --git a/wqflask/base/webqtlCaseData.py b/wqflask/base/webqtlCaseData.py
index aa55470f..2d07ab9d 100644
--- a/wqflask/base/webqtlCaseData.py
+++ b/wqflask/base/webqtlCaseData.py
@@ -28,6 +28,7 @@ import utility.tools
utility.tools.show_settings()
+
class webqtlCaseData:
"""one case data in one trait"""
@@ -78,4 +79,4 @@ class webqtlCaseData:
def display_num_cases(self):
if self.num_cases is not None:
return "%s" % self.num_cases
- return "x" \ No newline at end of file
+ return "x"