specdb / igmspec

Spectral Database Tools for Probing the Intergalactic Medium
6 stars 6 forks source link

Cannot build the database using get_igmspec #67

Closed ntejos closed 8 years ago

ntejos commented 8 years ago

The error is

(astroconda)ntejos@arrakis:~/python/igmspec/DB$ get_igmspec 
Traceback (most recent call last):
  File "/home/ntejos/anaconda/envs/astroconda/bin/get_igmspec", line 6, in <module>
    exec(compile(open(__file__).read(), __file__, 'exec'))
  File "/home/ntejos/python/igmspec/bin/get_igmspec", line 12, in <module>
    import igmspec.scripts.get_igmspec as get_igmspec
ImportError: No module named get_igmspec

Seems some sort of compatibility issue w/r to the old igmspec implementation.

profxj commented 8 years ago

get_igmspec is no longer in igmspec. Only in specdb.

You probably need to remove the script from your anaconda distribution (or insure that the one from specdb over-writes it).

ntejos commented 8 years ago

I see; so if I wish to install igmspec and load the database, I also need to install specdb?

profxj commented 8 years ago

No, you only need to install specdb.

igmspec software is only for building the igmspec database.

ntejos commented 8 years ago

Got it; thanks for the clarification. Will close the 'issue'.