Skip to content

Commit

Permalink
Merge pull request #6 from atravert/master
Browse files Browse the repository at this point in the history
FIX  KeyError: 136 or 132
  • Loading branch information
atravert authored Sep 14, 2022
2 parents d5427a3 + 1b86527 commit c03aee3
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions brukeropusreader/block_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,22 @@ class UnknownBlockType(Exception):
},
)

BLOCK_7 = {4: "ScSm", 8: "IgSm", 12: "PhSm"}
BLOCK_7 = {4: "ScSm", 8: "IgSm", 12: "PhSm", 132: "ScSm_(1)", 136: "IgSm_(1)"}

BLOCK_11 = {4: "ScRf", 8: "IgRf"}
BLOCK_11 = {4: "ScRf", 8: "IgRf", 132: "ScRf_(1)", 136: "IgRf_(1)" }

BLOCK_23 = {
4: "ScSm Data Parameter",
8: "IgSm Data Parameter",
12: "PhSm Data Parameter",
132: "ScSm_(1) Data Parameter",
136: "IgSm_(1) Data Parameter"
}

BLOCK_27 = {4: "ScRf Data Parameter", 8: "IgRf Data Parameter"}
BLOCK_27 = {4: "ScRf Data Parameter",
8: "IgRf Data Parameter",
132: "ScRf_(1) Data Parameter",
136: "IgRf_(1) Data Parameter"}

DIFFERENT_BLOCKS = {
31: "AB Data Parameter",
Expand Down

0 comments on commit c03aee3

Please sign in to comment.