Update block_data.py

Was getting 2CHN instead of final absorbance (AB), so with some trial and error to the block_data I got absorbance for three different instruments.
This commit is contained in:
JonShort4 2023-09-14 15:45:45 -07:00 committed by GitHub
parent ed13492490
commit 723b43a875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -83,7 +83,9 @@ class BlockMeta:
return BLOCK_7[self.channel_type], parse_series
elif self.data_type == 11:
return BLOCK_11[self.channel_type], parse_series
elif self.data_type == 15:
elif self.data_type == 15 and self.channel_type==16 and self.chunk_size <1332 and self.text_type == 0:
return "AB", parse_series
elif self.data_type == 15 and self.channel_type==16 and self.chunk_size >=1332 and self.offset<100000:
return "AB", parse_series
elif self.data_type == 23:
return BLOCK_23[self.channel_type], parse_param