diff options
author | BonfaceKilz | 2021-11-01 17:38:26 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-11-04 15:22:41 +0300 |
commit | f6a2a07b726dbff09f73bd7e98b155fd90471862 (patch) | |
tree | 47ee9acf61a604fef9b4d04ab5c0e1ec735082e2 /wqflask | |
parent | b3a9b90343f70584b82df00a42cbcc5b97dbfc7f (diff) | |
download | genenetwork2-f6a2a07b726dbff09f73bd7e98b155fd90471862.tar.gz |
Sort import according to pep-8 spec
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/metadata_edits.py | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/wqflask/wqflask/metadata_edits.py b/wqflask/wqflask/metadata_edits.py index 31d056b4..2be54620 100644 --- a/wqflask/wqflask/metadata_edits.py +++ b/wqflask/wqflask/metadata_edits.py @@ -1,18 +1,36 @@ -import MySQLdb -import os -import json import datetime -import difflib -import redis +import json +import os from collections import namedtuple -from flask import (Blueprint, current_app, redirect, - flash, g, render_template, request, Response) from itertools import groupby +from typing import Dict + +import MySQLdb +import difflib +import redis + +from flask import Blueprint +from flask import Response +from flask import current_app +from flask import flash +from flask import g +from flask import redirect +from flask import render_template +from flask import request +from flask import url_for from wqflask.decorators import edit_access_required +from wqflask.decorators import edit_access_required +from wqflask.decorators import edit_admins_access_required +from wqflask.decorators import login_required from wqflask.decorators import login_required +from gn3.authentication import AdminRole +from gn3.authentication import DataRole +from gn3.authentication import get_highest_user_access_role +from gn3.authentication import get_user_membership +from gn3.commands import run_cmd from gn3.db import diff_from_dict from gn3.db import fetchall from gn3.db import fetchone @@ -24,7 +42,6 @@ from gn3.db.phenotypes import Probeset from gn3.db.phenotypes import Publication from gn3.db.phenotypes import PublishXRef from gn3.db.phenotypes import probeset_mapping -from gn3.commands import run_cmd from gn3.db.traits import get_trait_csv_sample_data from gn3.db.traits import update_sample_data |