refactoring

This commit is contained in:
Frank Knoll
2024-02-09 23:07:25 +01:00
parent 977a9f5630
commit ce8fc60cf0
3 changed files with 11 additions and 9 deletions

View File

@@ -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

View File

@@ -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):

View File

@@ -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