Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHORE: raise on output error #253

Merged
merged 1 commit into from
Jun 26, 2024
Merged

CHORE: raise on output error #253

merged 1 commit into from
Jun 26, 2024

Conversation

mschwoer
Copy link
Collaborator

fix the issue that exit code =0 although an error occured..

0:15:43.095419 ERROR: Output failed with error 'precursor_idx'
Traceback (most recent call last):
  File "/fs/gpfs41/lv07/fileset03/home/b_mann/kraken/src/alphadia/alphadia/planning.py", line 380, in run
    output.build(workflow_folder_list, base_spec_lib)
  File "/fs/gpfs41/lv07/fileset03/home/b_mann/kraken/src/alphadia/alphadia/outputtransform.py", line 362, in build
    psm_df = self.build_precursor_table(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/fs/gpfs41/lv07/fileset03/home/b_mann/kraken/src/alphadia/alphadia/outputtransform.py", line 531, in build_precursor_table
    psm_df = psm_df.merge(
             ^^^^^^^^^^^^^
  File "/fs/home/kraken/conda-envs/alphadia-1.7.0-dev/lib/python3.11/site-packages/pandas/core/frame.py", line 10832, in merge
    return merge(
           ^^^^^^
  File "/fs/home/kraken/conda-envs/alphadia-1.7.0-dev/lib/python3.11/site-packages/pandas/core/reshape/merge.py", line 170, in merge
    op = _MergeOperation(
         ^^^^^^^^^^^^^^^^
  File "/fs/home/kraken/conda-envs/alphadia-1.7.0-dev/lib/python3.11/site-packages/pandas/core/reshape/merge.py", line 794, in __init__
    ) = self._get_merge_keys()
        ^^^^^^^^^^^^^^^^^^^^^^
  File "/fs/home/kraken/conda-envs/alphadia-1.7.0-dev/lib/python3.11/site-packages/pandas/core/reshape/merge.py", line 1310, in _get_merge_keys
    left_keys.append(left._get_label_or_level_values(lk))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/fs/home/kraken/conda-envs/alphadia-1.7.0-dev/lib/python3.11/site-packages/pandas/core/generic.py", line 1911, in _get_label_or_level_values
    raise KeyError(key)
KeyError: 'precursor_idx'
0:16:01.389283 WARNING: WARNING: Temp mmap arrays were written to /tmp/temp_mmap_dsqmm0qb. Cleanup of this folder is OS dependant, and might need to be triggered manually! Current space: 34,274,779,136
Removed 0 of 1 files.
EXIT CODE:
0

@mschwoer mschwoer requested a review from GeorgWa June 25, 2024 19:54
Copy link
Collaborator

@GeorgWa GeorgWa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@GeorgWa GeorgWa merged commit 6878841 into development Jun 26, 2024
4 checks passed
@GeorgWa GeorgWa deleted the raise-on-output-error branch June 26, 2024 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants