diff options
author | BonfaceKilz | 2021-04-29 21:45:51 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-04-29 21:45:51 +0300 |
commit | 23e8e222e8016ea8335d4850070f884ab9b043fe (patch) | |
tree | 495b13f81dd7ce9692db8a8e107d2298962394e7 /wqflask/base/species.py | |
parent | 67703a57db19c9a1ebcc6991087479979cbbca18 (diff) | |
download | genenetwork2-23e8e222e8016ea8335d4850070f884ab9b043fe.tar.gz |
Run `sed -i 's/(object)//g'`
See: https://is.gd/pL7IJF
Ran:
find . \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/(object)//g'
Diffstat (limited to 'wqflask/base/species.py')
-rw-r--r-- | wqflask/base/species.py | 6 |
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: |