1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 """The model_free saveframe category (used to be called order_parameters).
24
25 For example, see http://www.bmrb.wisc.edu/dictionary/3.1html_frame/frame_SaveFramePage.html#order_parameters
26 """
27
28
29 from bmrblib.experimental_details.sample_conditions import SampleConditionsSaveframe, SampleConditionList, SampleConditionCitation, SampleConditionVariable
30
31
33 """The v3.1 sample conditions saveframe class."""
34
42
43
45 """The v3.1 SampleConditionList tag category."""
46
48 """Setup the SampleConditionList tag category.
49
50 @param sf: The saveframe object.
51 @type sf: saveframe instance
52 """
53
54
55 super(SampleConditionList_v3_1, self).__init__(sf)
56
57
58 self.tag_category_label = 'Sample_condition_list'
59
60
61 self['SfCategory'].tag_name = 'Sf_category'
62 self['SfFramecode'].tag_name = 'Sf_framecode'
63 self['SampleConditionListID'].tag_name = 'ID'
64 self['Details'].tag_name = 'Details'
65
66
67
69 """The v3.1 SampleConditionCitation tag category."""
70
72 """Setup the SampleConditionCitation tag category.
73
74 @param sf: The saveframe object.
75 @type sf: saveframe instance
76 """
77
78
79 super(SampleConditionCitation_v3_1, self).__init__(sf)
80
81
82 self.tag_category_label = 'Sample_condition_list'
83
84
85 self['CitationID'].tag_name = 'Citation_ID'
86 self['CitationLabel'].tag_name = 'Citation_label'
87 self['SampleConditionListID'].tag_name = 'Sample_condition_list_ID'
88
89
90
92 """The v3.1 SampleConditionVariable tag category."""
93
95 """Setup the SampleConditionVariable tag category.
96
97 @param sf: The saveframe object.
98 @type sf: saveframe instance
99 """
100
101
102 super(SampleConditionVariable_v3_1, self).__init__(sf)
103
104
105 self.tag_category_label = 'Sample_condition_variable'
106
107
108 self['Type'].tag_name = 'Type'
109 self['Val'].tag_name = 'Val'
110 self['ValErr'].tag_name = 'Val_err'
111 self['ValUnits'].tag_name = 'Val_units'
112 self['SampleConditionListID'].tag_name = 'Sample_condition_list_ID'
113