ms1450 / CommandConnectorCompatibilityCalculator

Compares a customer list of Camera Models with the Verkada HCL to provide compatible cameras.
2 stars 1 forks source link

[BUG] Count Column is Perceived as Model #3

Closed ian-young closed 3 months ago

ian-young commented 3 months ago

Describe the bug When there are only two columns (camera model and count), the script thinks the count column is the model of the camera.

To Reproduce Steps to reproduce the behavior:

camera model,count
Advidia M-46-V,1713
Advidia E-37-FSW,562
Advidia VP-16-V2 Video Encoder,435
Advidia E-47-V,314
Advidia A-14,164
Advidia VP-16 Video Encoder,137
Advidia A-34,87
Advidia M-46-FW,70
Advidia M-87-V,59
Advidia A-15,41
Advidia A-37-F,30
Advidia B-31,12
Advidia B-33,14
Advidia A-17-F,11
Advidia A-44-IR,9
Advidia A-46-FW,6
Advidia M-45-FW-V2,6
Advidia A-47,3
Advidia A-45,2
Advidia A-35,1
Panasonic / i-PRO WV-X8570N,441
Panasonic / i-PRO WV-X8571N,275
Panasonic / i-PRO WV-S8574L,220
Panasonic / i-PRO WV-S8543L,21
Panasonic / i-PRO WV-S2131L,8
Panasonic / i-PRO WV-S4156,6
Panasonic / i-PRO WV-S8531N,4
Panasonic / i-PRO WV-S8544L,4
Panasonic / i-PRO WV-S25500-V3L,1

Expected behavior Count column in the output matches the count column in the file.

Screenshots

Screenshot 2024-08-21 at 8 19 09 AM