Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ repos:
args: ["-c", "pyproject.toml"]
additional_dependencies: ["bandit[toml]"]
- repo: https://github.com/PyCQA/isort
rev: 6.1.0
rev: 7.0.0
hooks:
- id: isort
- repo: https://github.com/jendrikseipp/vulture
Expand All @@ -82,7 +82,7 @@ repos:
hooks:
- id: almanack-check
- repo: https://github.com/PyCQA/pylint
rev: v3.3.9
rev: v4.0.0
hooks:
- id: pylint
name: pylint
Expand Down
4 changes: 0 additions & 4 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ persistent=yes
# the version used to run pylint.
py-version=3.8

# When enabled, pylint would attempt to guess common misconfiguration and emit
# user-friendly hints instead of false-positive error messages.
suggestion-mode=yes

# Allow loading of arbitrary C extensions. Extensions are imported into the
# active Python interpreter and may run arbitrary code.
unsafe-load-any-extension=no
Expand Down
14 changes: 7 additions & 7 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ keywords = [ "python", "cellprofiler", "single-cell-analysis", "way-lab" ]
[tool.poetry.dependencies]
python = ">=3.9,<3.14"
pyarrow = ">=13.0.0"
cloudpathlib = { extras = [ "all", "s3" ], version = ">=0.18,<0.23" }
cloudpathlib = { extras = [ "all", "s3" ], version = ">=0.18,<0.24" }
duckdb = ">=0.8.0,!=0.10.0,>=0.10.1"
parsl = ">=2023.9.25"
numpy = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
# as a pyarrow table then output to a new and
# smaller csv for testing purposes.

OUTPUT_FILENAME = (
output_filename = (
f"Test 0 Day{idx} Test Test_2024_Jan-0{idx+1}-{idx+12}-12-12_Test.csv"
)

Expand All @@ -68,10 +68,10 @@
).fetch_arrow_table(),
# output the filtered data as a CSV to a new location
output_file=(
f"{TARGET_DATA_DIR}/{OUTPUT_FILENAME}"
f"{TARGET_DATA_DIR}/{output_filename}"
# For some files lowercase the first letter of the file
# as a simulation of the source data.
if idx < 3
else f"{TARGET_DATA_DIR}/{OUTPUT_FILENAME[0].lower() + OUTPUT_FILENAME[1:]}"
else f"{TARGET_DATA_DIR}/{output_filename[0].lower() + output_filename[1:]}"
),
)