Code Monkey home page Code Monkey logo

exonailer's People

Contributors

nespinoza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

exonailer's Issues

Installation failure with included modules. gsl required

Hi there,
I had trouble installing exonailer because of the automatic installation of the external modules. The failed with exit code 1 was not very helpful to work out why it failed.

(azores)) [jneal@localhost exonailer]$ python install.py
> Numpy is ok!
> Scipy is ok!
> Astropy is ok!
> batman is ok!
> emcee is ok!
> C code found in directory utilities/ajplanet. Building...
----------------------------------------------------------
> ERROR: exonailer couldn't be installed.
> Problem building code in utilities/ajplanet. The error was:

    error: Command "gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./ -I/usr/local/include -Ibuild/src.linux-x86_64-2.7 -I/home/jneal/miniconda3/envs/azores/lib/python2.7/site-packages/numpy/core/include -I/home/jneal/miniconda3/envs/azores/include/python2.7 -c ./true_anomaly.c -o build/temp.linux-x86_64-2.7/true_anomaly.o" failed with exit status 1

After trying to build ajplanet manually I recovered this error.

((azores)) [jneal@localhost ajplanet]$ make
gcc -c true_anomaly.c -I/usr/local/include
true_anomaly.c:3:25: fatal error: gsl/gsl_math.h: No such file or directory
compilation terminated.
Makefile:19: recipe for target 'true_anomaly.o' failed
make: *** [true_anomaly.o] Error 1

Which revealed that I was missing the GNU scientific library (gsl).

It would be helpful if gsl was added to the requirements list. Or that the error message could return the error message from ajplanet which would have easily shown that gsl was missing.

Thanks Jason

FWT?

Traceback (most recent call last):
File "exonailer.py", line 5, in
import data_utils
File "utilities/data_utils.py", line 195, in
import Wavelets
File "utilities/Wavelets.py", line 3, in
import FWT
ImportError: No module named FWT

What is FWT module? is it from GSL?
I already install gsl in my Ubuntu 16.04 using "sudo apt-get install libgsl2 libgsl-dev"

Can't run exonailer.py

I followed all the steps for the installation (I got all the libraries needed and ran install.py), but when I tried to run exonailer.py I got this error:

Traceback (most recent call last):
File "exonailer.py", line 26, in
t_tr,phases,f, f_err,transit_instruments = data_utils.pre_process(t_tr,f,f_err,options,transit_instruments,parameters)
AttributeError: 'module' object has no attribute 'pre_process'

Do you know what could it be? I'm running all this in an environment with Python 2 and I have tried a lot of things but I can't run it.

Thanks in advance.

unused urllib import on install.py

Hi,

I noticed you import urllib and tarfile on install.py but it's never used. Do you think you can remove them?

Also, would you be interested in a pull request with a distutils-type installation with a setup.py?
That way installation would go as

python setup.py install

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.