Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test data #2

Open
wants to merge 131 commits into
base: master
Choose a base branch
from
Open

Test data #2

wants to merge 131 commits into from

Conversation

Chilipp
Copy link
Member

@Chilipp Chilipp commented Mar 16, 2019

Do not close or merge this PR since it only exists for test reasons!

@Chilipp Chilipp added the wontfix This will not be worked on label Mar 16, 2019
@EMPD-admin
Copy link

Ready to go

@Chilipp Chilipp closed this Mar 17, 2019
@Chilipp Chilipp reopened this Mar 17, 2019
@Chilipp Chilipp closed this Mar 17, 2019
@Chilipp Chilipp reopened this Mar 17, 2019
@Chilipp Chilipp closed this Mar 17, 2019
@Chilipp Chilipp reopened this Mar 17, 2019
@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I found some errors in your data submission. You may fix some of them using the @EMPD-admin fix command.
Please ping @Chilipp if you have difficulties with your submission.

Critical tests

Apparently the pytest command failed!

Full test report
Traceback (most recent call last):
  File "/opt/conda/bin/pytest", line 7, in <module>
    from py.test import main
  File "<frozen importlib._bootstrap>", line 1019, in _handle_fromlist
  File "/opt/conda/lib/python3.7/site-packages/py/_vendored_packages/apipkg.py", line 195, in __getattribute__
    return getattr(getmod(), name)
  File "/opt/conda/lib/python3.7/site-packages/py/_vendored_packages/apipkg.py", line 179, in getmod
    x = importobj(modpath, None)
  File "/opt/conda/lib/python3.7/site-packages/py/_vendored_packages/apipkg.py", line 69, in importobj
    module = __import__(modpath, None, None, ['__doc__'])
  File "/opt/conda/lib/python3.7/site-packages/pytest.py", line 8, in <module>
    from _pytest.config import cmdline
  File "/opt/conda/lib/python3.7/site-packages/_pytest/config/__init__.py", line 17, in <module>
    from pkg_resources import parse_version
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3126, in <module>
    @_call_aside
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3110, in _call_aside
    f(*args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3139, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 572, in _build_master
    ws = cls()
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 565, in __init__
    self.add_entry(entry)
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 621, in add_entry
    for dist in find_distributions(entry, True):
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1968, in find_on_path
    for dist in factory(fullpath):
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2038, in distributions_from_metadata
    root, entry, metadata, precedence=DEVELOP_DIST,
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2495, in from_location
    py_version=py_version, platform=platform, **kw
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2870, in _reload_version
    md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2459, in _version_from_file
    line = next(iter(version_lines), '')
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2649, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1814, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1800, in get_metadata
    with io.open(self.path, encoding='utf-8', errors="replace") as f:
PermissionError: [Errno 13] Permission denied: '/opt/conda/lib/python3.7/site-packages/.wh.pip-18.1-py3.7.egg-info'

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

Thank you very much for your data submission! I will now run some tests on your data.
In the meantime: please review your test data on the EMPD viewer using
this link: https://EMPD2.github.io/?commit=e9fbc5601caa87621d43300abadf522bc05516d0&meta=/tmp/tmpgeyp7ngh_empd/test.tsv

This bot is helping you merging your data. I am checking for common issues and I can fix your climate, country or elevation data.
Type @EMPD-admin --help in a new comment in this PR for usage information.

Make sure, that all the commands for the @EMPD-admin are on one single line and nothing else. Only
@EMPD-admin --help
will work, not something like
<other words> @EMPD-admin --help
or
@EMPD-admin --help <other words>

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

Thank you very much for your data submission! I will now run some tests on your data.
In the meantime: please review your test data on the EMPD viewer using
this link: https://EMPD2.github.io/?commit=e9fbc5601caa87621d43300abadf522bc05516d0&meta=test.tsv

This bot is helping you merging your data. I am checking for common issues and I can fix your climate, country or elevation data.
Type @EMPD-admin --help in a new comment in this PR for usage information.

Make sure, that all the commands for the @EMPD-admin are on one single line and nothing else. Only
@EMPD-admin --help
will work, not something like
<other words> @EMPD-admin --help
or
@EMPD-admin --help <other words>

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I found some errors in your data submission. You may fix some of them using the @EMPD-admin fix command.
Please ping @Chilipp if you have difficulties with your submission.

Critical tests

Apparently the pytest command failed!

Full test report
Traceback (most recent call last):
  File "/opt/conda/bin/pytest", line 7, in <module>
    from py.test import main
  File "<frozen importlib._bootstrap>", line 1019, in _handle_fromlist
  File "/opt/conda/lib/python3.7/site-packages/py/_vendored_packages/apipkg.py", line 195, in __getattribute__
    return getattr(getmod(), name)
  File "/opt/conda/lib/python3.7/site-packages/py/_vendored_packages/apipkg.py", line 179, in getmod
    x = importobj(modpath, None)
  File "/opt/conda/lib/python3.7/site-packages/py/_vendored_packages/apipkg.py", line 69, in importobj
    module = __import__(modpath, None, None, ['__doc__'])
  File "/opt/conda/lib/python3.7/site-packages/pytest.py", line 8, in <module>
    from _pytest.config import cmdline
  File "/opt/conda/lib/python3.7/site-packages/_pytest/config/__init__.py", line 17, in <module>
    from pkg_resources import parse_version
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3126, in <module>
    @_call_aside
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3110, in _call_aside
    f(*args, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3139, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 572, in _build_master
    ws = cls()
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 565, in __init__
    self.add_entry(entry)
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 621, in add_entry
    for dist in find_distributions(entry, True):
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1968, in find_on_path
    for dist in factory(fullpath):
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2038, in distributions_from_metadata
    root, entry, metadata, precedence=DEVELOP_DIST,
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2495, in from_location
    py_version=py_version, platform=platform, **kw
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2870, in _reload_version
    md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2459, in _version_from_file
    line = next(iter(version_lines), '')
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2649, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1814, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1800, in get_metadata
    with io.open(self.path, encoding='utf-8', errors="replace") as f:
PermissionError: [Errno 13] Permission denied: '/opt/conda/lib/python3.7/site-packages/.wh.pip-18.1-py3.7.egg-info'

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I found some errors in your data submission. You may fix some of them using the @EMPD-admin fix command.
Please ping @Chilipp if you have difficulties with your submission.

Critical tests

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.0, py-1.8.0, pluggy-0.9.0 -- /opt/test-env/bin/python
cachedir: .pytest_cache
rootdir: /tmp/tmp9kwwfbg1_test/tests, inifile:
collecting ... collected 10 items / 1 errors / 7 deselected / 2 selected

==================================== ERRORS ====================================
________________________ ERROR collecting test_meta.py _________________________
ImportError while importing test module '/tmp/tmp9kwwfbg1_test/tests/test_meta.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tmp/tmp9kwwfbg1_test/tests/test_meta.py:2: in <module>
    from latlon_utils import get_country
E   ModuleNotFoundError: No module named 'latlon_utils'
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
==================== 7 deselected, 1 error in 0.97 seconds =====================

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I found some errors in your data submission. You may fix some of them using the @EMPD-admin fix command.
Please ping @Chilipp if you have difficulties with your submission.

Critical tests

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.0, py-1.8.0, pluggy-0.9.0 -- /opt/test-env/bin/python
cachedir: .pytest_cache
rootdir: /tmp/tmp0ig0zm7o_test/tests, inifile:
collecting ... collected 22 items / 19 deselected / 3 selected

tmp/tmp0ig0zm7o_test/tests/test_critical.py::test_columns PASSED         [ 33%]
tmp/tmp0ig0zm7o_test/tests/test_critical.py::test_samplename_duplicates PASSED [ 66%]
tmp/tmp0ig0zm7o_test/tests/test_critical.py::test_data_columns[test_a1.tsv] PASSED [100%]

=================== 3 passed, 19 deselected in 0.75 seconds ====================

Formatting tests

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.0, py-1.8.0, pluggy-0.9.0 -- /opt/test-env/bin/python
cachedir: .pytest_cache
rootdir: /tmp/tmp0yt1ap2v_test/tests, inifile:
collecting ... collected 7 items

tmp/tmp0yt1ap2v_test/tests/test_formatting.py::test_trailing_spaces[test_a1] PASSED [ 14%]
tmp/tmp0yt1ap2v_test/tests/test_formatting.py::test_newline_chars[test_a1] PASSED [ 28%]
tmp/tmp0yt1ap2v_test/tests/test_formatting.py::test_doi[test_a1-DOI1] SKIPPED [ 42%]
tmp/tmp0yt1ap2v_test/tests/test_formatting.py::test_doi[test_a1-DOI2] SKIPPED [ 57%]
tmp/tmp0yt1ap2v_test/tests/test_formatting.py::test_doi[test_a1-DOI3] SKIPPED [ 71%]
tmp/tmp0yt1ap2v_test/tests/test_formatting.py::test_doi[test_a1-DOI4] SKIPPED [ 85%]
tmp/tmp0yt1ap2v_test/tests/test_formatting.py::test_doi[test_a1-DOI5] SKIPPED [100%]

===================== 2 passed, 5 skipped in 0.49 seconds ======================

Metadata tests

test_meta.py::test_country[test_a1]..FAILED error:
meta_row = OriginalSampleName                          orig_test_a1
SiteName                                       somewhere
Coun...                  NaN
Worker4_Phone2                                       NaN
Name: test_a1, Length: 71, dtype: object

    def test_country(meta_row):
>       assert meta_row.Country == get_country(
            *meta_row[['Latitude', 'Longitude']])
E       AssertionError: assert 'France' == 'Germany'
E         - France
E         + Germany

tmp/tmpzwtg17tp_test/tests/test_meta.py:13: AssertionError
Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.0, py-1.8.0, pluggy-0.9.0 -- /opt/test-env/bin/python
cachedir: .pytest_cache
rootdir: /tmp/tmpzwtg17tp_test/tests, inifile:
collecting ... collected 12 items

tmp/tmpzwtg17tp_test/tests/test_meta.py::test_lat_lon[test_a1] PASSED    [  8%]
tmp/tmpzwtg17tp_test/tests/test_meta.py::test_country[test_a1] FAILED    [ 16%]
tmp/tmpzwtg17tp_test/tests/test_meta.py::test_elevation[test_a1] PASSED  [ 25%]
tmp/tmpzwtg17tp_test/tests/test_meta.py::test_temperature[test_a1] PASSED [ 33%]
tmp/tmpzwtg17tp_test/tests/test_meta.py::test_precip[test_a1] PASSED     [ 41%]
tmp/tmpzwtg17tp_test/tests/test_meta.py::test_orig_varnames[test_a1.tsv] PASSED [ 50%]
tmp/tmpzwtg17tp_test/tests/test_meta.py::test_acc_varnames[test_a1.tsv] PASSED [ 58%]
tmp/tmpzwtg17tp_test/tests/test_meta.py::test_counts[test_a1.tsv] PASSED [ 66%]
tmp/tmpzwtg17tp_test/tests/test_meta.py::test_groupid[test_a1.tsv] PASSED [ 75%]
tmp/tmpzwtg17tp_test/tests/test_meta.py::test_higher_groupid[test_a1.tsv] PASSED [ 83%]
tmp/tmpzwtg17tp_test/tests/test_meta.py::test_percentage[test_a1.tsv] PASSED [ 91%]
tmp/tmpzwtg17tp_test/tests/test_meta.py::test_samplename[test_a1.tsv] PASSED [100%]

=================================== FAILURES ===================================
____________________________ test_country[test_a1] _____________________________

meta_row = OriginalSampleName                          orig_test_a1
SiteName                                       somewhere
Coun...                  NaN
Worker4_Phone2                                       NaN
Name: test_a1, Length: 71, dtype: object

    def test_country(meta_row):
>       assert meta_row.Country == get_country(
            *meta_row[['Latitude', 'Longitude']])
E       AssertionError: assert 'France' == 'Germany'
E         - France
E         + Germany

tmp/tmpzwtg17tp_test/tests/test_meta.py:13: AssertionError
===================== 1 failed, 11 passed in 2.66 seconds ======================

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

Thank you very much for your data submission! I will now run some tests on your data.
In the meantime: please review your test data on the EMPD viewer using
this link: https://EMPD2.github.io/?commit=640a48089bc40e146fcd7dfd675e0eea49d52058&meta=test.tsv

This bot is helping you merging your data. I am checking for common issues and I can fix your climate, country or elevation data.
Type @EMPD-admin --help in a new comment in this PR for usage information.

Make sure, that all the commands for the @EMPD-admin are on one single line and nothing else. Only
@EMPD-admin --help
will work, not something like
<other words> @EMPD-admin --help
or
@EMPD-admin --help <other words>

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I found some errors in your data submission. You may fix some of them using the @EMPD-admin fix command.
Please ping @Chilipp if you have difficulties with your submission.

Critical tests

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.0, py-1.8.0, pluggy-0.9.0 -- /opt/test-env/bin/python
cachedir: .pytest_cache
rootdir: /tmp/tmpllj3lt4o_test/tests, inifile:
collecting ... collected 22 items / 19 deselected / 3 selected

tmp/tmpllj3lt4o_test/tests/test_critical.py::test_columns PASSED         [ 33%]
tmp/tmpllj3lt4o_test/tests/test_critical.py::test_samplename_duplicates PASSED [ 66%]
tmp/tmpllj3lt4o_test/tests/test_critical.py::test_data_columns[test_a1.tsv] PASSED [100%]

=================== 3 passed, 19 deselected in 0.66 seconds ====================

Formatting tests

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.0, py-1.8.0, pluggy-0.9.0 -- /opt/test-env/bin/python
cachedir: .pytest_cache
rootdir: /tmp/tmp5my4xzsn_test/tests, inifile:
collecting ... collected 7 items

tmp/tmp5my4xzsn_test/tests/test_formatting.py::test_trailing_spaces[test_a1] PASSED [ 14%]
tmp/tmp5my4xzsn_test/tests/test_formatting.py::test_newline_chars[test_a1] PASSED [ 28%]
tmp/tmp5my4xzsn_test/tests/test_formatting.py::test_doi[test_a1-DOI1] SKIPPED [ 42%]
tmp/tmp5my4xzsn_test/tests/test_formatting.py::test_doi[test_a1-DOI2] SKIPPED [ 57%]
tmp/tmp5my4xzsn_test/tests/test_formatting.py::test_doi[test_a1-DOI3] SKIPPED [ 71%]
tmp/tmp5my4xzsn_test/tests/test_formatting.py::test_doi[test_a1-DOI4] SKIPPED [ 85%]
tmp/tmp5my4xzsn_test/tests/test_formatting.py::test_doi[test_a1-DOI5] SKIPPED [100%]

===================== 2 passed, 5 skipped in 0.45 seconds ======================

Metadata tests

test_meta.py::test_country[test_a1]..FAILED error:
meta_row = OriginalSampleName                          orig_test_a1
SiteName                                       somewhere
Coun...                  NaN
Worker4_Phone2                                       NaN
Name: test_a1, Length: 71, dtype: object

    def test_country(meta_row):
>       assert meta_row.Country == get_country(
            *meta_row[['Latitude', 'Longitude']])
E       AssertionError: assert 'France' == 'Germany'
E         - France
E         + Germany

tmp/tmp1qq4gfmn_test/tests/test_meta.py:13: AssertionError
Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.0, py-1.8.0, pluggy-0.9.0 -- /opt/test-env/bin/python
cachedir: .pytest_cache
rootdir: /tmp/tmp1qq4gfmn_test/tests, inifile:
collecting ... collected 12 items

tmp/tmp1qq4gfmn_test/tests/test_meta.py::test_lat_lon[test_a1] PASSED    [  8%]
tmp/tmp1qq4gfmn_test/tests/test_meta.py::test_country[test_a1] FAILED    [ 16%]
tmp/tmp1qq4gfmn_test/tests/test_meta.py::test_elevation[test_a1] PASSED  [ 25%]
tmp/tmp1qq4gfmn_test/tests/test_meta.py::test_temperature[test_a1] PASSED [ 33%]
tmp/tmp1qq4gfmn_test/tests/test_meta.py::test_precip[test_a1] PASSED     [ 41%]
tmp/tmp1qq4gfmn_test/tests/test_meta.py::test_orig_varnames[test_a1.tsv] PASSED [ 50%]
tmp/tmp1qq4gfmn_test/tests/test_meta.py::test_acc_varnames[test_a1.tsv] PASSED [ 58%]
tmp/tmp1qq4gfmn_test/tests/test_meta.py::test_counts[test_a1.tsv] PASSED [ 66%]
tmp/tmp1qq4gfmn_test/tests/test_meta.py::test_groupid[test_a1.tsv] PASSED [ 75%]
tmp/tmp1qq4gfmn_test/tests/test_meta.py::test_higher_groupid[test_a1.tsv] PASSED [ 83%]
tmp/tmp1qq4gfmn_test/tests/test_meta.py::test_percentage[test_a1.tsv] PASSED [ 91%]
tmp/tmp1qq4gfmn_test/tests/test_meta.py::test_samplename[test_a1.tsv] PASSED [100%]

=================================== FAILURES ===================================
____________________________ test_country[test_a1] _____________________________

meta_row = OriginalSampleName                          orig_test_a1
SiteName                                       somewhere
Coun...                  NaN
Worker4_Phone2                                       NaN
Name: test_a1, Length: 71, dtype: object

    def test_country(meta_row):
>       assert meta_row.Country == get_country(
            *meta_row[['Latitude', 'Longitude']])
E       AssertionError: assert 'France' == 'Germany'
E         - France
E         + Germany

tmp/tmp1qq4gfmn_test/tests/test_meta.py:13: AssertionError
===================== 1 failed, 11 passed in 1.71 seconds ======================

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

Thank you very much for your data submission! I will now run some tests on your data.
In the meantime: please review your test data on the EMPD viewer using
this link: https://EMPD2.github.io/?repo=EMPD2/EMPD-data&branch=test-data&meta=test.tsv

This bot is helping you merging your data. I am checking for common issues and I can fix your climate, country or elevation data.
Type @EMPD-admin --help in a new comment in this PR for usage information.

Make sure, that all the commands for the @EMPD-admin are on one single line and nothing else. Only
@EMPD-admin --help
will work, not something like
<other words> @EMPD-admin --help
or
@EMPD-admin --help <other words>

Note that you can also run these tests on your local machine with
pytest.

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I found some errors in your data submission. You may fix some of them using the @EMPD-admin fix command.
Please ping @Chilipp if you have difficulties with your submission.

Critical tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.0, py-1.8.0, pluggy-0.9.0 -- /opt/test-env/bin/python
cachedir: .pytest_cache
rootdir: /tmp/tmp4tdnxz25_test/tests, inifile:
collecting ... collected 22 items / 19 deselected / 3 selected

tmp/tmp4tdnxz25_test/tests/test_critical.py::test_columns PASSED         [ 33%]
tmp/tmp4tdnxz25_test/tests/test_critical.py::test_samplename_duplicates PASSED [ 66%]
tmp/tmp4tdnxz25_test/tests/test_critical.py::test_data_columns[test_a1.tsv] PASSED [100%]

=================== 3 passed, 19 deselected in 0.82 seconds ====================

Formatting tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.0, py-1.8.0, pluggy-0.9.0 -- /opt/test-env/bin/python
cachedir: .pytest_cache
rootdir: /tmp/tmpmzriq0h8_test/tests, inifile:
collecting ... collected 7 items

tmp/tmpmzriq0h8_test/tests/test_formatting.py::test_trailing_spaces[test_a1] PASSED [ 14%]
tmp/tmpmzriq0h8_test/tests/test_formatting.py::test_newline_chars[test_a1] PASSED [ 28%]
tmp/tmpmzriq0h8_test/tests/test_formatting.py::test_doi[test_a1-DOI1] SKIPPED [ 42%]
tmp/tmpmzriq0h8_test/tests/test_formatting.py::test_doi[test_a1-DOI2] SKIPPED [ 57%]
tmp/tmpmzriq0h8_test/tests/test_formatting.py::test_doi[test_a1-DOI3] SKIPPED [ 71%]
tmp/tmpmzriq0h8_test/tests/test_formatting.py::test_doi[test_a1-DOI4] SKIPPED [ 85%]
tmp/tmpmzriq0h8_test/tests/test_formatting.py::test_doi[test_a1-DOI5] SKIPPED [100%]

===================== 2 passed, 5 skipped in 0.46 seconds ======================

Metadata tests..FAILED

test_meta.py::test_country[test_a1]..FAILED error:
meta_row = OriginalSampleName                          orig_test_a1
SiteName                                       somewhere
Coun...                  NaN
Worker4_Phone2                                       NaN
Name: test_a1, Length: 71, dtype: object

    def test_country(meta_row):
>       assert meta_row.Country == get_country(
            *meta_row[['Latitude', 'Longitude']])
E       AssertionError: assert 'France' == 'Germany'
E         - France
E         + Germany

tmp/tmpnaxts73u_test/tests/test_meta.py:13: AssertionError
Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.0, py-1.8.0, pluggy-0.9.0 -- /opt/test-env/bin/python
cachedir: .pytest_cache
rootdir: /tmp/tmpnaxts73u_test/tests, inifile:
collecting ... collected 12 items

tmp/tmpnaxts73u_test/tests/test_meta.py::test_lat_lon[test_a1] PASSED    [  8%]
tmp/tmpnaxts73u_test/tests/test_meta.py::test_country[test_a1] FAILED    [ 16%]
tmp/tmpnaxts73u_test/tests/test_meta.py::test_elevation[test_a1] PASSED  [ 25%]
tmp/tmpnaxts73u_test/tests/test_meta.py::test_temperature[test_a1] PASSED [ 33%]
tmp/tmpnaxts73u_test/tests/test_meta.py::test_precip[test_a1] PASSED     [ 41%]
tmp/tmpnaxts73u_test/tests/test_meta.py::test_orig_varnames[test_a1.tsv] PASSED [ 50%]
tmp/tmpnaxts73u_test/tests/test_meta.py::test_acc_varnames[test_a1.tsv] PASSED [ 58%]
tmp/tmpnaxts73u_test/tests/test_meta.py::test_counts[test_a1.tsv] PASSED [ 66%]
tmp/tmpnaxts73u_test/tests/test_meta.py::test_groupid[test_a1.tsv] PASSED [ 75%]
tmp/tmpnaxts73u_test/tests/test_meta.py::test_higher_groupid[test_a1.tsv] PASSED [ 83%]
tmp/tmpnaxts73u_test/tests/test_meta.py::test_percentage[test_a1.tsv] PASSED [ 91%]
tmp/tmpnaxts73u_test/tests/test_meta.py::test_samplename[test_a1.tsv] PASSED [100%]

=================================== FAILURES ===================================
____________________________ test_country[test_a1] _____________________________

meta_row = OriginalSampleName                          orig_test_a1
SiteName                                       somewhere
Coun...                  NaN
Worker4_Phone2                                       NaN
Name: test_a1, Length: 71, dtype: object

    def test_country(meta_row):
>       assert meta_row.Country == get_country(
            *meta_row[['Latitude', 'Longitude']])
E       AssertionError: assert 'France' == 'Germany'
E         - France
E         + Germany

tmp/tmpnaxts73u_test/tests/test_meta.py:13: AssertionError
===================== 1 failed, 11 passed in 1.93 seconds ======================

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I found some errors in your data submission. You may fix some of them using the @EMPD-admin fix command.
Please ping @Chilipp if you have difficulties with your submission.

Critical tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.0, py-1.8.0, pluggy-0.9.0 -- /opt/test-env/bin/python
cachedir: .pytest_cache
rootdir: /tmp/tmphygaziwk_test/tests, inifile:
collecting ... collected 22 items / 19 deselected / 3 selected

tmp/tmphygaziwk_test/tests/test_critical.py::test_columns PASSED         [ 33%]
tmp/tmphygaziwk_test/tests/test_critical.py::test_samplename_duplicates PASSED [ 66%]
tmp/tmphygaziwk_test/tests/test_critical.py::test_data_columns[test_a1.tsv] PASSED [100%]

=================== 3 passed, 19 deselected in 1.82 seconds ====================

Formatting tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.0, py-1.8.0, pluggy-0.9.0 -- /opt/test-env/bin/python
cachedir: .pytest_cache
rootdir: /tmp/tmpmhx2pdx7_test/tests, inifile:
collecting ... collected 7 items

tmp/tmpmhx2pdx7_test/tests/test_formatting.py::test_trailing_spaces[test_a1] PASSED [ 14%]
tmp/tmpmhx2pdx7_test/tests/test_formatting.py::test_newline_chars[test_a1] PASSED [ 28%]
tmp/tmpmhx2pdx7_test/tests/test_formatting.py::test_doi[test_a1-DOI1] SKIPPED [ 42%]
tmp/tmpmhx2pdx7_test/tests/test_formatting.py::test_doi[test_a1-DOI2] SKIPPED [ 57%]
tmp/tmpmhx2pdx7_test/tests/test_formatting.py::test_doi[test_a1-DOI3] SKIPPED [ 71%]
tmp/tmpmhx2pdx7_test/tests/test_formatting.py::test_doi[test_a1-DOI4] SKIPPED [ 85%]
tmp/tmpmhx2pdx7_test/tests/test_formatting.py::test_doi[test_a1-DOI5] SKIPPED [100%]

===================== 2 passed, 5 skipped in 1.16 seconds ======================

Metadata tests..FAILED

test_meta.py::test_country[test_a1]..FAILED error:
meta_row = OriginalSampleName                          orig_test_a1
SiteName                                       somewhere
Coun...                  NaN
Worker4_Phone2                                       NaN
Name: test_a1, Length: 71, dtype: object

    def test_country(meta_row):
>       assert meta_row.Country == get_country(
            *meta_row[['Latitude', 'Longitude']])
E       AssertionError: assert 'France' == 'Germany'
E         - France
E         + Germany

tmp/tmp0pgnn4yu_test/tests/test_meta.py:13: AssertionError
Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.0, py-1.8.0, pluggy-0.9.0 -- /opt/test-env/bin/python
cachedir: .pytest_cache
rootdir: /tmp/tmp0pgnn4yu_test/tests, inifile:
collecting ... collected 12 items

tmp/tmp0pgnn4yu_test/tests/test_meta.py::test_lat_lon[test_a1] PASSED    [  8%]
tmp/tmp0pgnn4yu_test/tests/test_meta.py::test_country[test_a1] FAILED    [ 16%]
tmp/tmp0pgnn4yu_test/tests/test_meta.py::test_elevation[test_a1] PASSED  [ 25%]
tmp/tmp0pgnn4yu_test/tests/test_meta.py::test_temperature[test_a1] PASSED [ 33%]
tmp/tmp0pgnn4yu_test/tests/test_meta.py::test_precip[test_a1] PASSED     [ 41%]
tmp/tmp0pgnn4yu_test/tests/test_meta.py::test_orig_varnames[test_a1.tsv] PASSED [ 50%]
tmp/tmp0pgnn4yu_test/tests/test_meta.py::test_acc_varnames[test_a1.tsv] PASSED [ 58%]
tmp/tmp0pgnn4yu_test/tests/test_meta.py::test_counts[test_a1.tsv] PASSED [ 66%]
tmp/tmp0pgnn4yu_test/tests/test_meta.py::test_groupid[test_a1.tsv] PASSED [ 75%]
tmp/tmp0pgnn4yu_test/tests/test_meta.py::test_higher_groupid[test_a1.tsv] PASSED [ 83%]
tmp/tmp0pgnn4yu_test/tests/test_meta.py::test_percentage[test_a1.tsv] PASSED [ 91%]
tmp/tmp0pgnn4yu_test/tests/test_meta.py::test_samplename[test_a1.tsv] PASSED [100%]

=================================== FAILURES ===================================
____________________________ test_country[test_a1] _____________________________

meta_row = OriginalSampleName                          orig_test_a1
SiteName                                       somewhere
Coun...                  NaN
Worker4_Phone2                                       NaN
Name: test_a1, Length: 71, dtype: object

    def test_country(meta_row):
>       assert meta_row.Country == get_country(
            *meta_row[['Latitude', 'Longitude']])
E       AssertionError: assert 'France' == 'Germany'
E         - France
E         + Germany

tmp/tmp0pgnn4yu_test/tests/test_meta.py:13: AssertionError
===================== 1 failed, 11 passed in 5.16 seconds ======================

@Chilipp
Copy link
Member Author

Chilipp commented Mar 18, 2019

Let's try this
@EMPD-admin help

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I processed your command and hope that I can help you!

help

usage: @EMPD-admin {test,fix,help} ...

Commands:
{test,fix,help}
test test the database
fix fix the database
help Print the help on a command

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I processed your command and hope that I can help you!

help

usage: @EMPD-admin {test,fix,help} ...

Commands:
  {test,fix,help}
    test           test the database
    fix            fix the database
    help           Print the help on a command

@Chilipp
Copy link
Member Author

Chilipp commented Mar 18, 2019

@EMPD-admin accept all:Country

@EMPD2 EMPD2 deleted a comment from EMPD-admin Mar 19, 2019
@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I found some errors in your data submission. You may fix some of them using the @EMPD-admin fix command.
Please ping @Chilipp if you have difficulties with your submission.

Critical tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 42 items / 39 deselected / 3 selected
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_critical.py ...
=============================== warnings summary ===============================
opt/test-env/lib/python3.7/site-packages/socks.py:58
/opt/test-env/lib/python3.7/site-packages/socks.py:58: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Callable
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============= 3 passed, 39 deselected, 1 warnings in 1.65 seconds ==============

Formatting tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 7 items
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_formatting.py ..sssss
=============================== warnings summary ===============================
test_formatting.py::test_trailing_spaces
test_formatting.py::test_trailing_spaces
/opt/test-env/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
return f(*args, **kwds)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 2 passed, 5 skipped, 2 warnings in 1.08 seconds ================

Metadata tests..FAILED

test_meta.py::test_country..FAILED
error
E   AssertionError: Found 1 invalid Country: test_a1
    assert not 1
     +  where 1 = len(           OriginalSampleName   SiteName  ... empd_countries  Country_ok\nSampleName                                ......                       \ntest_a1          orig_test_a1  somewhere  ...        Germany       False\n\n[1 rows x 76 columns])
1 failed samples
Country nat_earth empd_countries okexcept(Country) Country_ok
test_a1 France Germany Germany False False

Displaying 1 of 1 samples

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 20 items
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_meta.py ..F.................
=================================== FAILURES ===================================
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_meta.py:80: AssertionError: Found 1 invalid Country: test_a1
=============================== warnings summary ===============================
test_meta.py::test_meta_exists
test_meta.py::test_meta_exists
/opt/test-env/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
return f(*args, **kwds)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 1 failed, 19 passed, 2 warnings in 2.08 seconds ================

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I found some errors in your data submission. You may fix some of them using the @EMPD-admin fix command.
Please ping @Chilipp if you have difficulties with your submission.

Critical tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 37 items / 34 deselected / 3 selected
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_critical.py ...
=============================== warnings summary ===============================
opt/test-env/lib/python3.7/site-packages/socks.py:58
/opt/test-env/lib/python3.7/site-packages/socks.py:58: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Callable
opt/test-env/lib/python3.7/site-packages/pyparsing.py:3077
/opt/test-env/lib/python3.7/site-packages/pyparsing.py:3077: DeprecationWarning: invalid escape sequence \w
"""
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============= 3 passed, 34 deselected, 2 warnings in 13.02 seconds =============

Formatting tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 7 items
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_formatting.py ..sssss
=============================== warnings summary ===============================
test_formatting.py::test_trailing_spaces
test_formatting.py::test_trailing_spaces
/opt/test-env/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
return f(*args, **kwds)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 2 passed, 5 skipped, 2 warnings in 1.68 seconds ================

Metadata tests..FAILED

test_meta.py::test_country..FAILED
error
E   AssertionError: Found 1 invalid Country: test_a1
    assert not 1
     +  where 1 = len(           OriginalSampleName   SiteName  ... empd_countries  Country_ok\nSampleName                                ......                       \ntest_a1          orig_test_a1  somewhere  ...        Germany       False\n\n[1 rows x 76 columns])
1 failed samples
Country nat_earth empd_countries okexcept(Country) Country_ok
test_a1 France Germany Germany False False

Displaying 1 of 1 samples

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 20 items
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_meta.py ..F.................
=================================== FAILURES ===================================
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_meta.py:80: AssertionError: Found 1 invalid Country: test_a1
=============================== warnings summary ===============================
test_meta.py::test_meta_exists
test_meta.py::test_meta_exists
/opt/test-env/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
return f(*args, **kwds)
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:45: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:153: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:192: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:222: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:250: DeprecationWarning: invalid escape sequence \
"""
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 1 failed, 19 passed, 7 warnings in 6.15 seconds ================

@Chilipp Chilipp removed the viewer-editable Editable through https://empd2.github.io/ label Apr 12, 2019
@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I found some errors in your data submission. You may fix some of them using the @EMPD-admin fix command.
Please ping @Chilipp if you have difficulties with your submission.

Critical tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 37 items / 34 deselected / 3 selected
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_critical.py ...
=============================== warnings summary ===============================
opt/test-env/lib/python3.7/site-packages/socks.py:58
/opt/test-env/lib/python3.7/site-packages/socks.py:58: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Callable
opt/test-env/lib/python3.7/site-packages/pyparsing.py:3077
/opt/test-env/lib/python3.7/site-packages/pyparsing.py:3077: DeprecationWarning: invalid escape sequence \w
"""
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============= 3 passed, 34 deselected, 2 warnings in 7.37 seconds ==============

Formatting tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 7 items
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_formatting.py ..sssss
=============================== warnings summary ===============================
test_formatting.py::test_trailing_spaces
test_formatting.py::test_trailing_spaces
/opt/test-env/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
return f(*args, **kwds)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 2 passed, 5 skipped, 2 warnings in 1.10 seconds ================

Metadata tests..FAILED

test_meta.py::test_country..FAILED
error
E   AssertionError: Found 1 invalid Country: test_a1
    assert not 1
     +  where 1 = len(           OriginalSampleName   SiteName  ... empd_countries  Country_ok\nSampleName                                ......                       \ntest_a1          orig_test_a1  somewhere  ...        Germany       False\n\n[1 rows x 76 columns])
1 failed samples
Country nat_earth empd_countries okexcept(Country) Country_ok
test_a1 France Germany Germany False False

Displaying 1 of 1 samples

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 20 items
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_meta.py ..F.................
=================================== FAILURES ===================================
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_meta.py:80: AssertionError: Found 1 invalid Country: test_a1
=============================== warnings summary ===============================
test_meta.py::test_meta_exists
test_meta.py::test_meta_exists
/opt/test-env/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
return f(*args, **kwds)
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:45: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:153: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:192: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:222: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:250: DeprecationWarning: invalid escape sequence \
"""
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 1 failed, 19 passed, 7 warnings in 2.68 seconds ================

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I found some errors in your data submission. You may fix some of them using the @EMPD-admin fix command.
Please ping @Chilipp if you have difficulties with your submission.

Critical tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 37 items / 34 deselected / 3 selected
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_critical.py ...
=============================== warnings summary ===============================
opt/test-env/lib/python3.7/site-packages/socks.py:58
/opt/test-env/lib/python3.7/site-packages/socks.py:58: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Callable
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============= 3 passed, 34 deselected, 1 warnings in 2.23 seconds ==============

Formatting tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 7 items
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_formatting.py ..sssss
=============================== warnings summary ===============================
test_formatting.py::test_trailing_spaces
test_formatting.py::test_trailing_spaces
/opt/test-env/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
return f(*args, **kwds)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 2 passed, 5 skipped, 2 warnings in 2.81 seconds ================

Metadata tests..FAILED

test_meta.py::test_country..FAILED
error
E   AssertionError: Found 1 invalid Country: test_a1
    assert not 1
     +  where 1 = len(           OriginalSampleName   SiteName  ... empd_countries  Country_ok\nSampleName                                ......                       \ntest_a1          orig_test_a1  somewhere  ...        Germany       False\n\n[1 rows x 76 columns])
1 failed samples
Country nat_earth empd_countries okexcept(Country) Country_ok
test_a1 France Germany Germany False False

Displaying 1 of 1 samples

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 20 items
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_meta.py ..F.................
=================================== FAILURES ===================================
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_meta.py:80: AssertionError: Found 1 invalid Country: test_a1
=============================== warnings summary ===============================
test_meta.py::test_meta_exists
test_meta.py::test_meta_exists
/opt/test-env/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
return f(*args, **kwds)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 1 failed, 19 passed, 2 warnings in 5.85 seconds ================

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I found some errors in your data submission. You may fix some of them using the @EMPD-admin fix command.
Please ping @Chilipp if you have difficulties with your submission.

Critical tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 37 items / 34 deselected / 3 selected
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_critical.py ...
=============================== warnings summary ===============================
opt/test-env/lib/python3.7/site-packages/socks.py:58
/opt/test-env/lib/python3.7/site-packages/socks.py:58: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Callable
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============= 3 passed, 34 deselected, 1 warnings in 1.74 seconds ==============

Formatting tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 7 items
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_formatting.py ..sssss
=============================== warnings summary ===============================
test_formatting.py::test_trailing_spaces
test_formatting.py::test_trailing_spaces
/opt/test-env/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
return f(*args, **kwds)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 2 passed, 5 skipped, 2 warnings in 1.13 seconds ================

Metadata tests..FAILED

test_meta.py::test_country..FAILED
error
E   AssertionError: Found 1 invalid Country: test_a1
    assert not 1
     +  where 1 = len(           OriginalSampleName   SiteName  ... empd_countries  Country_ok\nSampleName                                ......                       \ntest_a1          orig_test_a1  somewhere  ...        Germany       False\n\n[1 rows x 76 columns])
1 failed samples
Country nat_earth empd_countries okexcept(Country) Country_ok
test_a1 France Germany Germany False False

Displaying 1 of 1 samples

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 20 items
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_meta.py ..F.................
=================================== FAILURES ===================================
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_meta.py:80: AssertionError: Found 1 invalid Country: test_a1
=============================== warnings summary ===============================
test_meta.py::test_meta_exists
test_meta.py::test_meta_exists
/opt/test-env/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
return f(*args, **kwds)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 1 failed, 19 passed, 2 warnings in 2.62 seconds ================

@Chilipp Chilipp modified the milestone: EMPD version 2 Apr 21, 2019
@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I found some errors in your data submission. You may fix some of them using the @EMPD-admin fix command.
Please ping @Chilipp if you have difficulties with your submission.

Critical tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 37 items / 34 deselected / 3 selected
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_critical.py ...
=============================== warnings summary ===============================
opt/test-env/lib/python3.7/site-packages/socks.py:58
/opt/test-env/lib/python3.7/site-packages/socks.py:58: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Callable
opt/test-env/lib/python3.7/site-packages/pyparsing.py:3077
/opt/test-env/lib/python3.7/site-packages/pyparsing.py:3077: DeprecationWarning: invalid escape sequence \w
"""
test_critical.py::test_columns
/opt/test-env/lib/python3.7/site-packages/_pytest/fixtures.py:923: DtypeWarning: Columns (26,27,28,29,30,39,47,49,50,54,56,57,60,62,63,64,65,66) have mixed types. Specify dtype option on import or set low_memory=False.
result = call_fixture_func(fixturefunc, request, kwargs)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============= 3 passed, 34 deselected, 3 warnings in 7.91 seconds ==============

Formatting tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 7 items
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_formatting.py ..sssss
=============================== warnings summary ===============================
test_formatting.py::test_trailing_spaces
test_formatting.py::test_trailing_spaces
/opt/test-env/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
return f(*args, **kwds)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 2 passed, 5 skipped, 2 warnings in 1.54 seconds ================

Metadata tests..FAILED

test_meta.py::test_country..FAILED
error
E   AssertionError: Found 1 invalid Country: test_a1
    assert not 1
     +  where 1 = len(           OriginalSampleName   SiteName  ... empd_countries  Country_ok\nSampleName                                ......                       \ntest_a1          orig_test_a1  somewhere  ...        Germany       False\n\n[1 rows x 76 columns])
1 failed samples
Country nat_earth empd_countries okexcept(Country) Country_ok
test_a1 France Germany Germany False False

Displaying 1 of 1 samples

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.2, pytest-4.3.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/conda/lib/python3.7/site-packages/empd_admin/data/tests, inifile: pytest.ini
collected 20 items
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_meta.py ..F.................
=================================== FAILURES ===================================
/opt/conda/lib/python3.7/site-packages/empd_admin/data/tests/test_meta.py:80: AssertionError: Found 1 invalid Country: test_a1
=============================== warnings summary ===============================
test_meta.py::test_meta_exists
test_meta.py::test_meta_exists
/opt/test-env/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
return f(*args, **kwds)
test_meta.py::test_meta_exists
/opt/test-env/lib/python3.7/site-packages/_pytest/fixtures.py:923: DtypeWarning: Columns (26,27,28,29,30,39,47,49,50,54,56,57,60,62,63,64,65,66) have mixed types. Specify dtype option on import or set low_memory=False.
result = call_fixture_func(fixturefunc, request, kwargs)
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:45: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:153: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:192: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:222: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/test-env/lib/python3.7/site-packages/shapely/affinity.py:250: DeprecationWarning: invalid escape sequence \
"""
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 1 failed, 19 passed, 8 warnings in 4.23 seconds ================

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I found some errors in your data submission. You may fix some of them using the @EMPD-admin fix command.
Please ping @Chilipp if you have difficulties with your submission.

Critical tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-4.4.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/empd-data/tests, inifile: pytest.ini
collected 37 items / 34 deselected / 3 selected
/opt/empd-data/tests/test_critical.py ...
=============================== warnings summary ===============================
opt/conda/envs/empd-admin/lib/python3.7/site-packages/socks.py:58
/opt/conda/envs/empd-admin/lib/python3.7/site-packages/socks.py:58: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Callable
-- Docs: https://docs.pytest.org/en/latest/warnings.html
============= 3 passed, 34 deselected, 1 warnings in 9.21 seconds ==============

Formatting tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-4.4.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/empd-data/tests, inifile: pytest.ini
collected 7 items
/opt/empd-data/tests/test_formatting.py ..sssss
=============================== warnings summary ===============================
test_formatting.py::test_trailing_spaces
test_formatting.py::test_trailing_spaces
/opt/conda/envs/empd-admin/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
return f(*args, **kwds)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 2 passed, 5 skipped, 2 warnings in 1.25 seconds ================

Metadata tests..FAILED

test_meta.py::test_country..FAILED
error
E   AssertionError: Found 1 invalid Country: test_a1
    assert not 1
     +  where 1 = len(           OriginalSampleName   SiteName  ... empd_countries  Country_ok\nSampleName                                ......                       \ntest_a1          orig_test_a1  somewhere  ...        Germany       False\n\n[1 rows x 76 columns])
1 failed samples
Country nat_earth empd_countries okexcept(Country) Country_ok
test_a1 France Germany Germany False False

Displaying 1 of 1 samples

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-4.4.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/empd-data/tests, inifile: pytest.ini
collected 20 items
/opt/empd-data/tests/test_meta.py ..F.................
=================================== FAILURES ===================================
/opt/empd-data/tests/test_meta.py:80: AssertionError: Found 1 invalid Country: test_a1
=============================== warnings summary ===============================
test_meta.py::test_meta_exists
test_meta.py::test_meta_exists
/opt/conda/envs/empd-admin/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
return f(*args, **kwds)
test_meta.py::test_country
/opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:45: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:153: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:192: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:222: DeprecationWarning: invalid escape sequence \
"""
test_meta.py::test_country
/opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:250: DeprecationWarning: invalid escape sequence \
"""
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 1 failed, 19 passed, 7 warnings in 2.96 seconds ================

@Chilipp
Copy link
Member Author

Chilipp commented May 11, 2019

@EMPD-admin help

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I processed your command and hope that I can help you!

help

usage: @EMPD-admin
                   {test,fix,createdb,rebuild,rebase,finish,accept,unaccept,query,diff,merge-meta,allow-edits,disable-edits,help}
                   ...

Commands:
  {test,fix,createdb,rebuild,rebase,finish,accept,unaccept,query,diff,merge-meta,allow-edits,disable-edits,help}
    test                test the database
    fix                 fix the database
    createdb            Create a postgres database out of the data
    rebuild             Rebuild the fixed tables of the postgres database
    rebase              Merge the master branch of EMPD2/EMPD-data into the
                        current branch to resolve merge conflicts
    finish              Finish this PR and merge the data into meta.tsv
    accept              Mark incomplete or erroneous meta data as accepted
    unaccept            Reverse the acceptance of incomplete or erroneous meta
                        data.
    query               Query and display the meta data
    diff                Compare two EMPD meta files
    merge-meta          Merge two metafiles
    allow-edits         Allow edits through https://empd2.github.io/
    disable-edits       Disable edits through https://empd2.github.io/
    help                Print the help on a command

@Chilipp
Copy link
Member Author

Chilipp commented May 13, 2019

@EMPD-admin rebase

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I processed your command and hope that I can help you!

rebase

I successfully rebased EMPD2/EMPD-data:test-data on EMPD2/EMPD-data:master.

@Chilipp
Copy link
Member Author

Chilipp commented Oct 20, 2019

@EMPD-admin createdb -c

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I processed your command and hope that I can help you!

createdb -c

Postgres import succeded and dumped into postgres//tmp/tmpo0lf5ffr_empd/postgres/test.sql.sql.

This reverts commit e9dccef.
@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I found some errors in your data submission. You may fix some of them using the @EMPD-admin fix command.
Please ping @Chilipp if you have difficulties with your submission.

Critical tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-4.4.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/empd-data/tests, inifile: pytest.ini
collected 38 items / 35 deselected / 3 selected

/opt/empd-data/tests/test_critical.py ...                          [100%]

=============================== warnings summary ===============================
opt/conda/envs/empd-admin/lib/python3.7/site-packages/socks.py:58
  /opt/conda/envs/empd-admin/lib/python3.7/site-packages/socks.py:58: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    from collections import Callable

-- Docs: https://docs.pytest.org/en/latest/warnings.html
============= 3 passed, 35 deselected, 1 warnings in 10.07 seconds =============

Formatting tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-4.4.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/empd-data/tests, inifile: pytest.ini
collected 7 items

/opt/empd-data/tests/test_formatting.py ..sssss                    [100%]

=============================== warnings summary ===============================
test_formatting.py::test_trailing_spaces
test_formatting.py::test_trailing_spaces
  /opt/conda/envs/empd-admin/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
    return f(*args, **kwds)

-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 2 passed, 5 skipped, 2 warnings in 1.74 seconds ================

Metadata tests..FAILED

test_meta.py::test_country..FAILED
error
E   AssertionError: Found 1 invalid Country: test_a1
    assert not 1
     +  where 1 = len(           OriginalSampleName   SiteName  ... empd_countries  Country_ok\nSampleName                                ......                       \ntest_a1          orig_test_a1  somewhere  ...        Germany       False\n\n[1 rows x 76 columns])
1 failed samples
Country nat_earth empd_countries okexcept(Country) Country_ok
test_a1 France Germany Germany False False

Displaying 1 of 1 samples

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-4.4.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/empd-data/tests, inifile: pytest.ini
collected 21 items

/opt/empd-data/tests/test_meta.py ..F..................            [100%]

=================================== FAILURES ===================================
/opt/empd-data/tests/test_meta.py:80: AssertionError: Found 1 invalid Country: test_a1
=============================== warnings summary ===============================
test_meta.py::test_meta_exists
test_meta.py::test_meta_exists
  /opt/conda/envs/empd-admin/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
    return f(*args, **kwds)

test_meta.py::test_country
  /opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:45: DeprecationWarning: invalid escape sequence \ 
    """

test_meta.py::test_country
  /opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:153: DeprecationWarning: invalid escape sequence \ 
    """

test_meta.py::test_country
  /opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:192: DeprecationWarning: invalid escape sequence \ 
    """

test_meta.py::test_country
  /opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:222: DeprecationWarning: invalid escape sequence \ 
    """

test_meta.py::test_country
  /opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:250: DeprecationWarning: invalid escape sequence \ 
    """

-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 1 failed, 20 passed, 7 warnings in 4.47 seconds ================

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I found some errors in your data submission. You may fix some of them using the @EMPD-admin fix command.
Please ping @Chilipp if you have difficulties with your submission.

Critical tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-4.4.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/empd-data/tests, inifile: pytest.ini
collected 38 items / 35 deselected / 3 selected

/opt/empd-data/tests/test_critical.py ...                          [100%]

=============================== warnings summary ===============================
opt/conda/envs/empd-admin/lib/python3.7/site-packages/socks.py:58
  /opt/conda/envs/empd-admin/lib/python3.7/site-packages/socks.py:58: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    from collections import Callable

-- Docs: https://docs.pytest.org/en/latest/warnings.html
============= 3 passed, 35 deselected, 1 warnings in 7.80 seconds ==============

Formatting tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-4.4.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/empd-data/tests, inifile: pytest.ini
collected 7 items

/opt/empd-data/tests/test_formatting.py ..sssss                    [100%]

=============================== warnings summary ===============================
test_formatting.py::test_trailing_spaces
test_formatting.py::test_trailing_spaces
  /opt/conda/envs/empd-admin/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
    return f(*args, **kwds)

-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 2 passed, 5 skipped, 2 warnings in 1.80 seconds ================

Metadata tests..FAILED

test_meta.py::test_country..FAILED
error
E   AssertionError: Found 1 invalid Country: test_a1
    assert not 1
     +  where 1 = len(           OriginalSampleName   SiteName  ... empd_countries  Country_ok\nSampleName                                ......                       \ntest_a1          orig_test_a1  somewhere  ...        Germany       False\n\n[1 rows x 76 columns])
1 failed samples
Country nat_earth empd_countries okexcept(Country) Country_ok
test_a1 France Germany Germany False False

Displaying 1 of 1 samples

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-4.4.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/empd-data/tests, inifile: pytest.ini
collected 21 items

/opt/empd-data/tests/test_meta.py ..F..................            [100%]

=================================== FAILURES ===================================
/opt/empd-data/tests/test_meta.py:80: AssertionError: Found 1 invalid Country: test_a1
=============================== warnings summary ===============================
test_meta.py::test_meta_exists
test_meta.py::test_meta_exists
  /opt/conda/envs/empd-admin/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
    return f(*args, **kwds)

test_meta.py::test_country
  /opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:45: DeprecationWarning: invalid escape sequence \ 
    """

test_meta.py::test_country
  /opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:153: DeprecationWarning: invalid escape sequence \ 
    """

test_meta.py::test_country
  /opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:192: DeprecationWarning: invalid escape sequence \ 
    """

test_meta.py::test_country
  /opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:222: DeprecationWarning: invalid escape sequence \ 
    """

test_meta.py::test_country
  /opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:250: DeprecationWarning: invalid escape sequence \ 
    """

-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 1 failed, 20 passed, 7 warnings in 4.63 seconds ================

@EMPD-admin
Copy link

Hi! I'm your friendly automated EMPD-admin bot!

I found some errors in your data submission. You may fix some of them using the @EMPD-admin fix command.
Please ping @Chilipp if you have difficulties with your submission.

Critical tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-4.4.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/empd-data/tests, inifile: pytest.ini
collected 38 items / 35 deselected / 3 selected

/opt/empd-data/tests/test_critical.py ...                          [100%]

=============================== warnings summary ===============================
opt/conda/envs/empd-admin/lib/python3.7/site-packages/socks.py:58
  /opt/conda/envs/empd-admin/lib/python3.7/site-packages/socks.py:58: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
    from collections import Callable

-- Docs: https://docs.pytest.org/en/latest/warnings.html
============= 3 passed, 35 deselected, 1 warnings in 6.41 seconds ==============

Formatting tests..PASSED

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-4.4.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/empd-data/tests, inifile: pytest.ini
collected 7 items

/opt/empd-data/tests/test_formatting.py ..sssss                    [100%]

=============================== warnings summary ===============================
test_formatting.py::test_trailing_spaces
test_formatting.py::test_trailing_spaces
  /opt/conda/envs/empd-admin/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
    return f(*args, **kwds)

-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 2 passed, 5 skipped, 2 warnings in 1.16 seconds ================

Metadata tests..FAILED

test_meta.py::test_country..FAILED
error
E   AssertionError: Found 1 invalid Country: test_a1
    assert not 1
     +  where 1 = len(           OriginalSampleName   SiteName  ... empd_countries  Country_ok\nSampleName                                ......                       \ntest_a1          orig_test_a1  somewhere  ...        Germany       False\n\n[1 rows x 76 columns])
1 failed samples
Country nat_earth empd_countries okexcept(Country) Country_ok
test_a1 France Germany Germany False False

Displaying 1 of 1 samples

Full test report
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-4.4.1, py-1.8.0, pluggy-0.9.0
rootdir: /opt/empd-data/tests, inifile: pytest.ini
collected 21 items

/opt/empd-data/tests/test_meta.py ..F..................            [100%]

=================================== FAILURES ===================================
/opt/empd-data/tests/test_meta.py:80: AssertionError: Found 1 invalid Country: test_a1
=============================== warnings summary ===============================
test_meta.py::test_meta_exists
test_meta.py::test_meta_exists
  /opt/conda/envs/empd-admin/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
    return f(*args, **kwds)

test_meta.py::test_country
  /opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:45: DeprecationWarning: invalid escape sequence \ 
    """

test_meta.py::test_country
  /opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:153: DeprecationWarning: invalid escape sequence \ 
    """

test_meta.py::test_country
  /opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:192: DeprecationWarning: invalid escape sequence \ 
    """

test_meta.py::test_country
  /opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:222: DeprecationWarning: invalid escape sequence \ 
    """

test_meta.py::test_country
  /opt/conda/envs/empd-admin/lib/python3.7/site-packages/shapely/affinity.py:250: DeprecationWarning: invalid escape sequence \ 
    """

-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 1 failed, 20 passed, 7 warnings in 2.82 seconds ================

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants