aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorAlexanderlacuna2020-11-04 09:57:35 +0300
committerAlexanderlacuna2020-11-04 09:57:35 +0300
commit9d2134202c0435ad4a18e0ac74ce4a99508f1a76 (patch)
treeaf84f039bb14a8fef66443dfef67ee84f73b1251 /wqflask
parent23915d8102b8a05930cf3fd16d651a460ebd2f58 (diff)
downloadgenenetwork2-9d2134202c0435ad4a18e0ac74ce4a99508f1a76.tar.gz
remove whitespace
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/tests/wqflask/show_trait/test_show_trait.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/wqflask/tests/wqflask/show_trait/test_show_trait.py b/wqflask/tests/wqflask/show_trait/test_show_trait.py
index 04c68045..f82a4c04 100644
--- a/wqflask/tests/wqflask/show_trait/test_show_trait.py
+++ b/wqflask/tests/wqflask/show_trait/test_show_trait.py
@@ -3,7 +3,7 @@ import unittest
from unittest import mock
from wqflask import app
from wqflask.show_trait.show_trait import check_if_attr_exists
-from wqflask.show_trait.show_trait import get_ncbi_summary
+from wqflask.show_trait.show_trait import get_ncbi_summary
from wqflask.show_trait.show_trait import has_num_cases
from wqflask.show_trait.show_trait import get_table_widths
from wqflask.show_trait.show_trait import get_categorical_variables
@@ -12,6 +12,7 @@ from wqflask.show_trait.show_trait import get_nearest_marker
from wqflask.show_trait.show_trait import get_genotype_scales
from wqflask.show_trait.show_trait import requests
+
class TraitObject:
def __init__(self, obj):
for key, value in obj.items():
@@ -169,9 +170,7 @@ class TestTraits(unittest.TestCase):
"sample_attribute_1": TraitObject({"name": "ex1"}),
"sample_attribute_2": TraitObject({"name": "ex2"}),
"sample_attribute_3": TraitObject({"name": "ex3"}),
- "sample_attribute_4": TraitObject({"name": "not_in_extra_attributes"}),
-
-
+ "sample_attribute_4": TraitObject({"name": "not_in_extra_attributes"})
}})
results = get_categorical_variables(this_trait, sample_list)