Skip to content

Update PythonExtensionChecker.py - #5433

Merged
timosachsenberg merged 2 commits into
release/2.7.0from
python-extension-checker
Jul 16, 2021
Merged

timosachsenberg merged 2 commits into
release/2.7.0from
python-extension-checker

Conversation

@axelwalter

@axelwalter axelwalter commented Jul 16, 2021 •

Copy link
Copy Markdown
Collaborator

Description

change what() to getMessage()
tool failed using what()

Edit:
Somehow only seems to fail locally?
MacOS 10.15.7

test 9
    Start 9: pyopenms_unittest_test_DIAScoring.py

9: Test command: /usr/local/miniconda3/envs/build_pyopenms_39/bin/python3.9 "-c" "import nose; nose.run_exit()" "/Users/alka/Documents/work/software/openms_pyopenms/20210224_test/pyOpenMS/tests/unittests/test_DIAScoring.py" "-s" "-v"
9: Environment variables: 
9:  LD_LIBRARY_PATH=/Users/alka/Documents/work/software/openms_pyopenms/20210224_test/lib
9: Test timeout computed to be: 1500
9: Determination of memory status is not supported on this 
9:  platform, measuring for memoryleaks will never fail
9: test_spectrum (unittests.test_DIAScoring.TestDIAScoring) ... ERROR
9: 
9: ======================================================================
9: ERROR: test_spectrum (unittests.test_DIAScoring.TestDIAScoring)
9: ----------------------------------------------------------------------
9: Traceback (most recent call last):
9:   File "/Users/alka/Documents/work/software/openms_pyopenms/20210224_test/pyOpenMS/tests/unittests/test_DIAScoring.py", line 48, in test_spectrum
9:     bseries_score, yseries_score = diascoring.dia_by_ion_score(spectrum, a, charge, bseries_score, yseries_score)
9:   File "pyopenms/pyopenms_1.pyx", line 2688, in pyopenms.pyopenms_1.DIAScoring.dia_by_ion_score
9:     self.inst.get().dia_by_ion_score(input_spectrum, (deref(sequence.inst.get())), (<int>charge), input_bseries_score, input_yseries_score)
9: RuntimeError: spectrum->getMZArray()->data.size() == spectrum->getIntensityArray()->data.size() "MZ and Intensity array need to have the same length."
9: 
9: ----------------------------------------------------------------------
9: Ran 1 test in 0.010s
9: 
9: FAILED (errors=1)
1/1 Test #9: pyopenms_unittest_test_DIAScoring.py ...***Failed    0.67 sec

Oliver Alka and others added 2 commits July 16, 2021 16:03
change what() to getMessage()
tool failed using what()
@axelwalter
axelwalter changed the base branch from develop to release/2.7.0 July 16, 2021 15:24
@axelwalter axelwalter closed this Jul 16, 2021
@oliveralka oliveralka reopened this Jul 16, 2021
@oliveralka

oliveralka commented Jul 16, 2021 •

Copy link
Copy Markdown
Contributor

test_DIAScoring.py was merged to develop instead of release 2.7.0

@timosachsenberg
timosachsenberg merged commit 84b5bf2 into release/2.7.0 Jul 16, 2021
@timosachsenberg
timosachsenberg deleted the python-extension-checker branch July 16, 2021 15:59
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.

3 participants