Skip to content

Commit

Permalink
fix numpy dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
hamshkhawar committed Nov 20, 2024
1 parent 600f409 commit 8154d6d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions transforms/tabular-thresholding-tool/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM polusai/bfio:2.3.6
FROM polusai/bfio:2.4.5

# environment variables defined in polusai/bfio
ENV EXEC_DIR="/opt/executables"
Expand All @@ -19,7 +19,6 @@ COPY . ${EXEC_DIR}/tabular-tools
# Install the tool
RUN pip3 install "${EXEC_DIR}/tabular-tools/${TOOL_DIR}" --no-cache-dir

# Set the entrypoint
# TODO: Change the entrypoint to the tool entrypoint
ENTRYPOINT ["python3", "-m", "polus.tabular.transforms.tabular_thresholding"]
CMD ["--help"]
1 change: 1 addition & 0 deletions transforms/tabular-thresholding-tool/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ typer = "^0.7.0"
tqdm = "^4.64.1"
vaex = "^4.17.0"
pyarrow = ">=16.0,<17.0"
numpy = "1.26.4"


[tool.poetry.group.dev.dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ def main( # noqa:PLR0913
logger.info(f"falsePositiverate = {false_positive_rate}")
logger.info(f"numBins = {num_bins}")
logger.info(f"n = {n}")
logger.info(f"outFormat = {out_format}")

inp_dir = inp_dir.resolve()
out_dir = out_dir.resolve()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

logger = logging.getLogger(__name__)

POLUS_TAB_EXT = os.environ.get("POLUS_TAB_EXT", ".arrow")
POLUS_TAB_EXT = os.environ.get("POLUS_TAB_EXT", ".csv")


class Methods(str, enum.Enum):
Expand Down

0 comments on commit 8154d6d

Please sign in to comment.