Giter Club home page Giter Club logo

geoboost2's People

Contributors

amagge avatar zoophy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

geoboost2's Issues

Missing file: Confidence.tsv

Installed geonames and geoboost2 as instructed. Renamed zodo/settings_template.py to zodo/settings.py and made the following changes: 1) added personal API key; 2) changed USE_REDIS value from "True" to "False". Attempted to implement demo code (with custom newline delimited accession file):

python run.py genbank examples/ebola_accessions.txt out/ebola/

Encountered the following error:

Traceback (most recent call last): File "run.py", line 191, in <module> main() File "run.py", line 184, in main extract_genbank_loih(args) File "run.py", line 87, in extract_genbank_loih write_genbank_run_results(gb_req, args.outdir) File "run.py", line 52, in write_genbank_run_results df.to_csv(out_dir, sep='\t') File "/home/firstname_lastname/.local/lib/python3.7/site-packages/pandas/core/generic.py", line 3204, in to_csv formatter.save() File "/home/firstname_lastname/.local/lib/python3.7/site-packages/pandas/io/formats/csvs.py", line 188, in save compression=dict(self.compression_args, method=self.compression), File "/home/firstname_lastname/.local/lib/python3.7/site-packages/pandas/io/common.py", line 455, in get_handle f = open(path_or_buf, mode, encoding=encoding, newline="") FileNotFoundError: [Errno 2] No such file or directory: 'out/PRRSV-Austria/Confidence.tsv'

Edit1 - target files/directories were full read/write accessible (777)
Edit2 - Identified user error. Closing...

Unit test fail: cannot import name 'geodesic'

Installed geonames and geoboost2 as instructed. Renamed zodo/settings_template.py to zodo/settings.py and made the following changes: 1) added personal API key; 2) changed USE_REDIS value from "True" to "False". Attempted to run unit test:

pytest tests/

Encountered the following error:

ImportError while importing test module '/mnt/c/Users/firstname lastname/Documents/geoboost2-master/tests/test_accessions.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: tests/test_accessions.py:6: in <module> from geopy.distance import geodesic E ImportError: cannot import name 'geodesic' from 'geopy.distance' (/home/firstname_lastname/.local/lib/python3.7/site-packages/geopy/distance.py)

Python version == 3.7.9
geopy version == 1.12.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.