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 This file is part of the U{BMRB library<https://sourceforge.net/projects/bmrblib>}.
26
27 For example, see http://www.bmrb.wisc.edu/dictionary/3.1html_frame/frame_SaveFramePage.html#order_parameters
28 """
29
30
31 from bmrblib.experimental_details.sample_conditions import SampleConditionsSaveframe, SampleConditionList, SampleConditionCitation, SampleConditionVariable
32
33
35 """The v3.1 sample conditions saveframe class."""
36
44
45
47 """The v3.1 SampleConditionList tag category."""
48
50 """Setup the SampleConditionList tag category.
51
52 @param sf: The saveframe object.
53 @type sf: saveframe instance
54 """
55
56
57 super(SampleConditionList_v3_1, self).__init__(sf)
58
59
60 self.tag_category_label = 'Sample_condition_list'
61
62
63 self['SfCategory'].tag_name = 'Sf_category'
64 self['SfFramecode'].tag_name = 'Sf_framecode'
65 self['SampleConditionListID'].tag_name = 'ID'
66 self['Details'].tag_name = 'Details'
67
68
69
71 """The v3.1 SampleConditionCitation tag category."""
72
74 """Setup the SampleConditionCitation tag category.
75
76 @param sf: The saveframe object.
77 @type sf: saveframe instance
78 """
79
80
81 super(SampleConditionCitation_v3_1, self).__init__(sf)
82
83
84 self.tag_category_label = 'Sample_condition_list'
85
86
87 self['CitationID'].tag_name = 'Citation_ID'
88 self['CitationLabel'].tag_name = 'Citation_label'
89 self['SampleConditionListID'].tag_name = 'Sample_condition_list_ID'
90
91
92
94 """The v3.1 SampleConditionVariable tag category."""
95
97 """Setup the SampleConditionVariable tag category.
98
99 @param sf: The saveframe object.
100 @type sf: saveframe instance
101 """
102
103
104 super(SampleConditionVariable_v3_1, self).__init__(sf)
105
106
107 self.tag_category_label = 'Sample_condition_variable'
108
109
110 self['Type'].tag_name = 'Type'
111 self['Val'].tag_name = 'Val'
112 self['ValErr'].tag_name = 'Val_err'
113 self['ValUnits'].tag_name = 'Val_units'
114 self['SampleConditionListID'].tag_name = 'Sample_condition_list_ID'
115