Skip to content

Commit

Permalink
run isort recursive
Browse files Browse the repository at this point in the history
  • Loading branch information
ypriverol committed Sep 4, 2023
1 parent 7729d9a commit 9f780be
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 26 deletions.
3 changes: 1 addition & 2 deletions sdrf_pipelines/maxquant/maxquant.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
import re
import time
from datetime import datetime
from xml.dom.minidom import Document
from xml.dom.minidom import parse
from xml.dom.minidom import Document, parse

import numpy as np
import pandas as pd
Expand Down
24 changes: 10 additions & 14 deletions sdrf_pipelines/sdrf/sdrf.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
import logging

import pandas as pd

from sdrf_pipelines.sdrf.sdrf_schema import CELL_LINES_TEMPLATE
from sdrf_pipelines.sdrf.sdrf_schema import HUMAN_TEMPLATE
from sdrf_pipelines.sdrf.sdrf_schema import MASS_SPECTROMETRY
from sdrf_pipelines.sdrf.sdrf_schema import NON_VERTEBRATES_TEMPLATE
from sdrf_pipelines.sdrf.sdrf_schema import PLANTS_TEMPLATE
from sdrf_pipelines.sdrf.sdrf_schema import VERTEBRATES_TEMPLATE
from sdrf_pipelines.sdrf.sdrf_schema import cell_lines_schema
from sdrf_pipelines.sdrf.sdrf_schema import default_schema
from sdrf_pipelines.sdrf.sdrf_schema import human_schema
from sdrf_pipelines.sdrf.sdrf_schema import mass_spectrometry_schema
from sdrf_pipelines.sdrf.sdrf_schema import nonvertebrates_chema
from sdrf_pipelines.sdrf.sdrf_schema import plants_chema
from sdrf_pipelines.sdrf.sdrf_schema import vertebrates_chema
from sdrf_pipelines.sdrf.sdrf_schema import (CELL_LINES_TEMPLATE,
HUMAN_TEMPLATE, MASS_SPECTROMETRY,
NON_VERTEBRATES_TEMPLATE,
PLANTS_TEMPLATE,
VERTEBRATES_TEMPLATE,
cell_lines_schema, default_schema,
human_schema,
mass_spectrometry_schema,
nonvertebrates_chema,
plants_chema, vertebrates_chema)


class SdrfDataFrame(pd.DataFrame):
Expand Down
13 changes: 5 additions & 8 deletions sdrf_pipelines/sdrf/sdrf_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,11 @@
from typing import Any

import pandas as pd
from pandas_schema import Column
from pandas_schema import Schema
from pandas_schema.validation import LeadingWhitespaceValidation
from pandas_schema.validation import MatchesPatternValidation
from pandas_schema.validation import TrailingWhitespaceValidation
from pandas_schema.validation import _BaseValidation
from pandas_schema.validation import _SeriesValidation

from pandas_schema import Column, Schema
from pandas_schema.validation import (LeadingWhitespaceValidation,
MatchesPatternValidation,
TrailingWhitespaceValidation,
_BaseValidation, _SeriesValidation)
from sdrf_pipelines.sdrf import sdrf
from sdrf_pipelines.utils.exceptions import LogicError
from sdrf_pipelines.zooma.ols import OlsClient
Expand Down
1 change: 0 additions & 1 deletion sdrf_pipelines/sdrf_merge/add_data_analysis_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

import pandas as pd
import yaml

from sdrf_pipelines.openms.unimod import UnimodDatabase
from sdrf_pipelines.sdrf.sdrf import SdrfDataFrame
from sdrf_pipelines.zooma.zooma import OlsClient
Expand Down
1 change: 0 additions & 1 deletion sdrf_pipelines/zooma/zooma.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import requests
from requests import HTTPError

from sdrf_pipelines.zooma.ols import OlsClient


Expand Down

0 comments on commit 9f780be

Please sign in to comment.