From a471d1d51ac361e04242ae7424af20f32fb26fce Mon Sep 17 00:00:00 2001 From: HammadTheOne <30986043+HammadTheOne@users.noreply.github.com> Date: Tue, 31 Aug 2021 01:34:12 -0400 Subject: [PATCH] Fixing CI config for Rust install in `dash` (#570) * Testing out CI changes * Adding pip upgrade * Moving pip command * Linting fix * Updating pip/timeout * Testing without Rust install * Removing redundant line * Removing correct line --- .circleci/config.yml | 3 +++ dash_bio/component_factory/_clustergram.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1c6c717d4..6f881ec87 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -56,6 +56,7 @@ jobs: command: | python -m venv venv . venv/bin/activate + pip install --upgrade pip git clone --depth 1 https://github.com/plotly/dash.git dash-main cd dash-main && pip install -e .[dev,testing] --progress-bar off && renderer build && cd ../ npm run build @@ -95,8 +96,10 @@ jobs: - run: name: Install requirements + no_output_timeout: 20m command: | . venv/bin/activate + pip install --upgrade pip pip install --progress-bar off -r tests/requirements.txt --quiet - save_cache: diff --git a/dash_bio/component_factory/_clustergram.py b/dash_bio/component_factory/_clustergram.py index cdaa6d0e4..8ac4258f2 100644 --- a/dash_bio/component_factory/_clustergram.py +++ b/dash_bio/component_factory/_clustergram.py @@ -280,11 +280,11 @@ def __init__( else: self._col_group_marker = col_group_marker if tick_font is None: - self._tick_font = dict() + self._tick_font = {} else: self._tick_font = tick_font if annotation_font is None: - self._annotation_font = dict() + self._annotation_font = {} else: self._annotation_font = annotation_font self._paper_bg_color = paper_bg_color