Skip to content

Commit

Permalink
make materials lookup copy-able
Browse files Browse the repository at this point in the history
  • Loading branch information
vedina committed May 13, 2024
1 parent 53a0913 commit 59d3a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pynanomapper/datamodel/templates/blueprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ def create_materials_sheet(workbook,writer,materials,info=None,results=[],materi
info_sheet.data_validation(validation_cell, validation)
vlookup = [('B26',3),('B27',9),('B28',4),('B29',6),('B31',8)]
for v in vlookup:
formula = '=VLOOKUP($B$25,Materials!B:J,"{}",FALSE)'.format(v[1])
formula = '=VLOOKUP(B$25,Materials!$B:$J,"{}",FALSE)'.format(v[1])
info_sheet.write_formula(v[0], formula)
readonly_format = workbook.add_format({'locked': True})

Expand Down

0 comments on commit 59d3a0b

Please sign in to comment.