pypeit / PypeIt

The Python Spectroscopic Data Reduction Pipeline
BSD 3-Clause "New" or "Revised" License
160 stars 102 forks source link

Problem with running test #475

Closed keheintz closed 6 years ago

keheintz commented 6 years ago

After installing PypeIt and I tried to run the suggested test with the additional data from the TestSuite. However, I get the error below. Any suggestions on how to fix this?

./pypeit_test kast Output directory exists. REDUX_OUT/Shane_Kast_red/600_7500_d55 run_pypeit shane_kast_red_600_7500_d55.pypeit -o Running pypeit on shane_kast_red_600_7500_d55.pypeit --- FAILED if((bf1 == -2) or (bf1.size !=nx*nord)): ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

WRITING: shane_kast_blue_2018-Sep-04 Wrote /Users/keheintz/PYPIT-development-suite/REDUX_OUT/Shane_Kast_blue/600_4310_d55/shane_kast_blue_setup_A/shane_kast_blue_setup_A.pypeit Finished running pypeit on shane_kast_blue_600_4310_d55 --- PASSED [INFO] :: util.py 456 parse_pypeit_file() - Found 27 raw data frames [INFO] :: util.py 468 parse_pypeit_file() - Input file loaded successfully

REDUX_OUT/Shane_Kast_blue/600_4310_d55/shane_kast_blue_setup_A run_pypeit shane_kast_blue_setup_A.pypeit -o Running pypeit on shane_kast_blue_setup_A.pypeit --- FAILED if((bf1 == -2) or (bf1.size !=nx*nord)): ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

--- PYPEIT DEVELOPMENT SUITE FAILED 2/3 TESTS ---

profxj commented 6 years ago

On it.

profxj commented 6 years ago

Addressed by #476