aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/species.py
diff options
context:
space:
mode:
authorBonfaceKilz2021-04-29 21:57:16 +0300
committerGitHub2021-04-29 21:57:16 +0300
commit4c8c5390bdba594c217d7ca0114a80a6b3634e24 (patch)
treeb48693555b97fd21e37b263591685af75a2a4b45 /wqflask/base/species.py
parentbab514be0f0d01fc192638b8e7ccd5909b842b23 (diff)
parent881090ff15a5a563bccefcbd08d373c88a64aa31 (diff)
downloadgenenetwork2-4c8c5390bdba594c217d7ca0114a80a6b3634e24.tar.gz
Merge pull request #566 from BonfaceKilz/Feature/Add-upload-data-forms
Chore/Cosmetic-changes
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: