aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/species.py
diff options
context:
space:
mode:
authorzsloan2021-04-29 16:43:44 -0500
committerGitHub2021-04-29 16:43:44 -0500
commit72248f8474400a4f27717bda9309e95d1b1bae57 (patch)
tree44998fd1b561e1f4fde3edbc7bc5d375b003b91f /wqflask/base/species.py
parent02184d2e867e7d14a825c739d55eb00c9aa142b7 (diff)
parent4c8c5390bdba594c217d7ca0114a80a6b3634e24 (diff)
downloadgenenetwork2-72248f8474400a4f27717bda9309e95d1b1bae57.tar.gz
Merge branch 'testing' into bug/network_graph_fixes
Diffstat (limited to 'wqflask/base/species.py')
-rw-r--r--wqflask/base/species.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/wqflask/base/species.py b/wqflask/base/species.py
index 2771d116..eae3325a 100644
--- a/wqflask/base/species.py
+++ b/wqflask/base/species.py
@@ -6,7 +6,7 @@ from flask import Flask, g
from utility.logger import getLogger
logger = getLogger(__name__ )
-class TheSpecies(object):
+class TheSpecies:
def __init__(self, dataset=None, species_name=None):
if species_name != None:
self.name = species_name
@@ -15,7 +15,7 @@ class TheSpecies(object):
self.dataset = dataset
self.chromosomes = Chromosomes(dataset=self.dataset)
-class IndChromosome(object):
+class IndChromosome:
def __init__(self, name, length):
self.name = name
self.length = length
@@ -25,7 +25,7 @@ class IndChromosome(object):
"""Chromosome length in megabases"""
return self.length / 1000000
-class Chromosomes(object):
+class Chromosomes:
def __init__(self, dataset=None, species=None):
self.chromosomes = collections.OrderedDict()
if species != None: