From ce8fc60cf02f64160e6d22069704b89a7f6437ea Mon Sep 17 00:00:00 2001 From: Frank Knoll Date: Fri, 9 Feb 2024 23:07:25 +0100 Subject: [PATCH] refactoring --- environment.yml | 14 +++++++------- src/GoogleAnalytics/FilesProviderTest.py | 4 ++-- src/help.txt | 2 ++ 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/environment.yml b/environment.yml index 3832ca6ddab..a0b6931d0a4 100644 --- a/environment.yml +++ b/environment.yml @@ -1,12 +1,12 @@ name: howbadismybatch-venv channels: - defaults - # - conda-forge + - conda-forge dependencies: - python=3.9 - ipykernel - numpy - - pandas + - pandas=1.4.0 - urllib3 - requests - bs4 @@ -18,8 +18,8 @@ dependencies: - openpyxl - tqdm - simplejson - # - python-decouple - # - selenium - # - webdriver-manager - # - pycountry -prefix: /home/frankknoll/anaconda3/envs/howbadismybatch-venv + - python-decouple + - selenium + - webdriver-manager + - pycountry +prefix: /home/frank/miniconda3/envs/howbadismybatch-venv diff --git a/src/GoogleAnalytics/FilesProviderTest.py b/src/GoogleAnalytics/FilesProviderTest.py index 4281a075108..e9ff719ee46 100644 --- a/src/GoogleAnalytics/FilesProviderTest.py +++ b/src/GoogleAnalytics/FilesProviderTest.py @@ -16,8 +16,8 @@ class FilesProviderTest(unittest.TestCase): self.assertEqual( files, [ - dataDir + '/CountryByBatchcode 20230730-20230929.csv', - dataDir + '/CountryByBatchcode 20230929-20230930.csv' + dataDir + '/CountryByBatchcode 20230929-20230930.csv', + dataDir + '/CountryByBatchcode 20230730-20230929.csv' ]) def test_getFilesHavingCountryResolution(self): diff --git a/src/help.txt b/src/help.txt index e13d566ee6e..ee62c1ea66a 100644 --- a/src/help.txt +++ b/src/help.txt @@ -34,6 +34,8 @@ update howbadismybatch-venv: conda activate howbadismybatch-venv conda env update --file environment.yml --prune +conda remove -n howbadismybatch-venv --all + www.HowBadIsMyBatch.info /etc/apache2/sites-available/HowBadIsMyBatch.conf