Jacob Czech ce7fa65b92 Fixed bug in testsuite. 11 年之前
..
01-macro.mdl 2dcfa50048 Updates to macromolecules test suite. 16 年之前
01-macro_nonmixed.mdl 2dcfa50048 Updates to macromolecules test suite. 16 年之前
02-macro_surface.mdl bd4fd8ff81 Updated testsuite to include complete surface macromol numerical validation. 16 年之前
03-macro_surface_listrelease.mdl 7c90b2e7e5 Added in test for surface list release placement for macromolecules. 16 年之前
04-macro_surface_init.mdl 7cf3f8f2ec Fixed bug related to the placement of molecules through SURFACE_CLASS/MOLECULE_DENSITY. Implemented placement of molecules through SURFACE_CLASS/MOLECULE_NUMBER with the meaning of 'place requested number of molecules on each region labeled with surface class'. Until we settle on the policy placement of complex molecules through SURFACE_CLASS/(MOLECULE_DENSITY or MOLECULE_NUMBER) is disabled (MCell error). 14 年之前
README 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-01.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-02.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-03.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-04.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-05.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-06.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-07.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-08.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-09.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-10.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-11.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-12.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-13.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-14.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-15.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-16.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-17.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-18.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-19.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-20.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-21.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-22.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-23.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-24.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-25.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-26.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-27.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-28.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-29.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-30.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-31.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-32.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-33.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-34.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-35.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-36.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-37.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-38.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
invalid-39.mdl 99081511fd Adding updated test facilities. Fixed a few minor issues found during testing. 16 年之前
invalid-40.mdl 873fc7a15e Adding updated tests. Includes a variety of tests merged over from my 16 年之前
macromol_test_types.py 99081511fd Adding updated test facilities. Fixed a few minor issues found during testing. 16 年之前
parameters.mdl be1051e2f9 Added non-mixed variant of macromolecules test. 16 年之前
test_info.py 07155613dc Added in quantitative test for volume reaction rates and equilibrium modified from integration tests I used when merging the macromolecules code with Boris' trimolecular reactions code. 16 年之前
test_macromols.py ce7fa65b92 Fixed bug in testsuite. 11 年之前

README

The files in this directory test various aspects of macromolecules. The first
test can be validated by checking the equilibrium against an analyically
derived solution. The second test can also be validated against an
analytically derived solution, as well as against a set of internal-consistency
relations between the various counts. The 3rd and 4th tests are mainly for
validating different types of surface release, and are probably best validated
by hand-checking the viz output, though some validation can be done through the
reaction data.

* Test 01: Simple volume macromolecules.
* Test 02: Simple surface macromolecules.
* Test 03: Surface macromolecule list release.
* Test 04: Surface macromolecule init by density/number.

The invalid-?? files have intentional errors to test macromolecule parser error
handling in several categories. The best test for these is to hand-inspect the
error message output, and ensure that it conveys enough information to allow
the user to quickly fix the problem.

SUBUNIT[a, b] = species

Since the topology of the species is 2-dimensional, each assignment must
have a 2-D index (actually a range in each dimension), and each index must
be inside the appropriate bounds for the particular dimension of the
topology. Where ranges are used, they must be non-empty (i.e. first bound
is less than second bound):

* invalid-01: Subunit assignment out of bounds
* invalid-02: Subunit assignment range invalid
* invalid-03: Subunit assignment out of bounds
* invalid-04: Subunit assignment missing dim.
* invalid-05: Subunit assignment extra dim.
* invalid-06: Subunit assignment negative (1st)
* invalid-07: Subunit assignment negative (2nd)
* invalid-34: Subunit assignment missing

SHAPE {
SUBUNIT[a, b] = species
}

Again, the dimensionality of the index for the subunit must match the
dimensionality of the topology of the complex, and none of the index
coordinates may be out-of-bounds for their particular dimension. Each
subunit must have its location specified precisely once.

* invalid-08: Subunit shape out of bounds
* invalid-09: Subunit shape out of bounds
* invalid-10: Subunit shape out of bounds
* invalid-11: Subunit shape out of bounds
* invalid-12: Subunit shape extra dim.
* invalid-13: Subunit shape missing dim.
* invalid-14: Subunit shape missing item
* invalid-15: Subunit shape extra item

SUBUNIT_RELATIONSHIPS {
ring_negative = [ 0, -1]
}

The dimensionality of the subunit offset must match the topology of the
complex. The absolute value of the offset in any index coordinate must be
less than the maximum value for that coordinate. No relationship may
appear more than once. Any relationship which is used in a rate rule or
counting table must be defined.

* invalid-16: Subunit realtionship extra dim.
* invalid-17: Subunit relationship missing dim.
* invalid-18: Subunit relationship range error
* invalid-19: Subunit relationship range error
* invalid-20: Duplicate relationship
* invalid-21: Unknown relationship

RATE_RULES {
coop_binding_rate {
dimer_partner != camkii_subunit : rate_1
DEFAULT : rate_2
}
}

No rate rule may appear more than once. Subunit species may not be
complexes.


* invalid-22: Rate rule uses complex as subunit
* invalid-23: Duplicate rate rule

(camkii_subunit) + cam <-> (camkii_subunitB) [> COMPLEX_RATE camkii coop_binding_rate,
< COMPLEX_RATE camkii coop_unbinding_rate]

A reaction is valid only if neither side includes a subunit (parenthesized
participant) or if both include exactly 1. Complex rate rules must
reference a valid complex and a valid rate rule within the complex.

* invalid-24: Two subunit reactants
* invalid-25: Product missing subunit
* invalid-26: Product has extra subunit
* invalid-27: Complex rate referent is not a complex
* invalid-28: Complex rate rule references non-existent table

{
COUNT[SUBUNIT{
camkii : camkii_subunit
[ dimer_partner == camkii_subunit ]
}, WORLD]
} => "./reaction_data/coop_m00." & seed_str

A complex subunit count is valid only if:
- the complex referenced is a valid complex
- the subunit referenced is a valid molecule (non-complex)
- each relation referenced is a valid relation for the complex
- each subunit referenced in a relation is a valid molecule (non-complex)
- no relation is referenced more than once

* invalid-29: Complex count references non-complex
* invalid-30: Complex count references invalid subunit name
* invalid-31: Complex count references invalid relation
* invalid-32: Complex count references invalid related subunit
* invalid-33: Complex count references the same relation twice
* invalid-36: Extra orientation on volume complex
* invalid-37: Extra orientation on volume subunit
* invalid-38: Extra orientation on volume subunit relation

General errors:

* invalid-35: Complex redefined
* invalid-39: Failure to place molecules (complex too big for region)