Skip to content

Commit

Permalink
autoformatting with ruff and isort
Browse files Browse the repository at this point in the history
  • Loading branch information
kedhammar committed Nov 30, 2023
1 parent c84bbd7 commit 97227fa
Show file tree
Hide file tree
Showing 62 changed files with 5,486 additions and 3,194 deletions.
2 changes: 1 addition & 1 deletion data/Chromium_10X_indexes.py
Original file line number Diff line number Diff line change
Expand Up @@ -692,5 +692,5 @@
"SI-TS-H9": ["CCTCCGTGTC", "TACCTGGAAC"],
"SI-TS-H10": ["TGTGAATTTC", "CACGTGGTTC"],
"SI-TS-H11": ["ACACCAGCCT", "ACGAACCAGC"],
"SI-TS-H12": ["GACAGGCGGT", "CTAAGTCCAG"]
"SI-TS-H12": ["GACAGGCGGT", "CTAAGTCCAG"],
}
2 changes: 1 addition & 1 deletion epp_utils/formula.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ def nM_to_ng_ul(nM, bp):
for col in range(1, 13):
for row in "ABCDEFGH":
well_name2num_96plate[f"{row}:{col}"] = i
i += 1
i += 1
6 changes: 3 additions & 3 deletions epp_utils/udf_tools.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from requests.exceptions import HTTPError
from genologics.entities import Artifact, Process
import json

from genologics.entities import Artifact, Process
from requests.exceptions import HTTPError

DESC = """This is a submodule for defining reuasble functions to handle artifact
UDFs in in the Genonolics Clarity LIMS API.
Expand All @@ -19,7 +19,7 @@ def put(art: Artifact, target_udf: str, val, on_fail=AssertionError()):
art.put()
return True

except HTTPError as e:
except HTTPError:
del art.udf[target_udf]
if issubclass(type(on_fail), BaseException):
raise on_fail
Expand Down
2 changes: 1 addition & 1 deletion scilifelab_epps/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" LIMS EPP scripts, NGI in Stockholm
"""

__version__ = '1.0.0'
__version__ = "1.0.0"
Loading

0 comments on commit 97227fa

Please sign in to comment.