You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From ./manage.py test vast_pipeline.tests.test_runpipeline.RunPipelineTest.test_check_run:
2024-08-07 23:48:34,182 runpipeline ERROR Processing error:
Too many levels: Index has only 1 level, not 2
Traceback (most recent call last):
File "/import/ada2/ddob1600/vast-pipeline/vast_pipeline/management/commands/runpipeline.py", line 340, in run_pipe
pipeline.process_pipeline(p_run)
File "/import/ada2/ddob1600/vast-pipeline/vast_pipeline/pipeline/main.py", line 293, in process_pipeline
nr_sources, nr_new_sources = final_operations(
File "/import/ada2/ddob1600/vast-pipeline/vast_pipeline/pipeline/finalise.py", line 166, in final_operations
measurement_pairs_df = calculate_measurement_pair_metrics(sources_df)
File "/import/ada2/ddob1600/vast-pipeline/vast_pipeline/pipeline/pairs.py", line 116, in calculate_measurement_pair_metrics
measurement_combinations = measurement_combinations.reset_index(
File "/import/ada2/ddob1600/.conda/envs/vast-pipeline-dev-py3.9/lib/python3.9/site-packages/pandas/util/_decorators.py", line 331, in wrapper
return func(*args, **kwargs)
File "/import/ada2/ddob1600/.conda/envs/vast-pipeline-dev-py3.9/lib/python3.9/site-packages/pandas/core/frame.py", line 6314, in reset_index
level = [self.index._get_level_number(lev) for lev in level]
File "/import/ada2/ddob1600/.conda/envs/vast-pipeline-dev-py3.9/lib/python3.9/site-packages/pandas/core/frame.py", line 6314, in <listcomp>
level = [self.index._get_level_number(lev) for lev in level]
File "/import/ada2/ddob1600/.conda/envs/vast-pipeline-dev-py3.9/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 2055, in _get_level_number
self._validate_index_level(level)
File "/import/ada2/ddob1600/.conda/envs/vast-pipeline-dev-py3.9/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 2046, in _validate_index_level
raise IndexError(
IndexError: Too many levels: Index has only 1 level, not 2
The text was updated successfully, but these errors were encountered:
From
./manage.py test vast_pipeline.tests.test_runpipeline.RunPipelineTest.test_check_run
:The text was updated successfully, but these errors were encountered: