Closed ElizabethMorh closed 6 years ago
I pushed some changes (rewrote labelToSpect, added a function, and removed syntax errors) for run_cannon.py, and it works now for me. Can you try it again?
I tried, but now it says:
ModuleNotFoundError Traceback (most recent call last)
Hm, I am not sure... It is working on my computer, and I've pushed all of my files. Did you pull the code after I posted the last message?
Now it's working! I did pull the code again and now it's solved.
Thank you!
Ok good!
input: import apogee_tools as ap
Output: Traceback (most recent call last): File "", line 1, in
File "/Users/Elizabeth/python/apogee_tools/apogee_tools/init.py", line 5, in
from .cannon_tools.run_cannon import labelToSpec, loadLabels, initializeTrainingSet, runCannon, crossValidate
File "/Users/Elizabeth/python/apogee_tools/apogee_tools/cannon_tools/run_cannon.py", line 360
nlabels = len(labels)