Skip to content

Commit

Permalink
Debug resistors
Browse files Browse the repository at this point in the history
  • Loading branch information
eeintech committed Jan 15, 2024
1 parent ec9b708 commit 2a581f7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions kintree/database/inventree_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ def fetch_template_name(template_id):
part_parameters[parameter_name] = parameter_value

if new_part_parameters and part_parameters:
print(f'\n*** COMPARING PARAMETERS ***\nFROM={new_part_parameters}\nTO={part_parameters}\nFILTERS={filters}')
# Compare database part with new part
compare_parameters = part_tools.compare(new_part_parameters=new_part_parameters,
db_part_parameters=part_parameters,
Expand Down
22 changes: 11 additions & 11 deletions run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@
ENABLE_KICAD = True
# Set categories to test
PART_CATEGORIES = [
'Capacitors',
'Circuit Protections',
'Connectors',
'Crystals and Oscillators',
'Diodes',
'Inductors',
'Integrated Circuits',
'Mechanicals',
'Power Management',
# 'Capacitors',
# 'Circuit Protections',
# 'Connectors',
# 'Crystals and Oscillators',
# 'Diodes',
# 'Inductors',
# 'Integrated Circuits',
# 'Mechanicals',
# 'Power Management',
'Resistors',
'RF',
'Transistors',
# 'RF',
# 'Transistors',
]
# Enable tests on extra methods
ENABLE_TEST_METHODS = True
Expand Down

0 comments on commit 2a581f7

Please sign in to comment.