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

[BUG] Import error in batch_to_eopatch pipeline #12

Closed
mlubej opened this issue Feb 15, 2022 · 2 comments
Closed

[BUG] Import error in batch_to_eopatch pipeline #12

mlubej opened this issue Feb 15, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@mlubej
Copy link
Contributor

mlubej commented Feb 15, 2022

Describe the bug

When running the batch_to_eopatch pipeline an import error is thrown

Stack trace or screenshots

  File "/Users/mlubej/.pyenv/versions/3.8.7/envs/surs/lib/python3.8/site-packages/eogrow/pipelines/batch_to_eopatch.py", line 9, in <module>
    from eolearn.core import (
ImportError: cannot import name 'RemoveFeature' from 'eolearn.core' (/Users/mlubej/.pyenv/versions/3.8.7/envs/surs/lib/python3.8/site-packages/eolearn/core/__init__.py)

and

  File "/Users/mlubej/work/projects/sh-project/eo-grow/eogrow/pipelines/batch_to_eopatch.py", line 19, in <module>
    from eolearn.io import ImportFromTiff
ImportError: cannot import name 'ImportFromTiff' from 'eolearn.io' (/Users/mlubej/work/projects/sh-project/eo-learn/io/eolearn/io/__init__.py)

Solution

I guess it should be RemoveFeatureTask and of ImportFromTiff

Environment

both eo-learn and eo-grow are at v1.0.0.

@mlubej mlubej added the bug Something isn't working label Feb 15, 2022
@zigaLuksic
Copy link
Collaborator

Thanks for testing the pipeline. Will fix this soon.

@mlubej
Copy link
Contributor Author

mlubej commented Feb 17, 2022

Fixed in #15

@mlubej mlubej closed this as completed Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants