pgb_liv\php_ms\Core\Modification::setMonoisotopicMass
Sets the monoisotopic mass for this modification
Signature
public function setMonoisotopicMass(float
$mass )
Parameters
$mass
—
float
The monoisotopic mass to set
Errors/Exceptions
-
InvalidArgumentException
- If argument 1 is not of type float
Test Coverage
Information
- Coverage: 5/5 Lines (100%)
- Tests: 2
- Passed: 2 (100%)
Tests
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\ModificationTest::testObjectCanGetSetValidMonoMass
- [ PASSED ] — pgb_liv\php_ms\Test\Unit\ModificationTest::testObjectCanSetInvalidMonoMass
Violations
Checkstyle
Line |
Column |
Severity |
Message |
100 |
1 |
error
|
Multi-line function call not indented correctly; expected 12 spaces but found 16 |
100 |
106 |
error
|
Closing parenthesis of a multi-line function call must be on a line by itself |