<div dir="ltr">Dear users,<div><div>  I am using BoltzTrap for thermoelectric properties. I am following the steps like  scf and nscf calculation, then using the script qe2boltz.py to convert the data for BoltzTrap. Some times script converts the data without any error and some times I got this error:</div><div>Traceback (most recent call last):</div><div>File "/pkg/chem/boltztrap125/util/qe2boltz.py", line 253, in <module></div><div>sys.exit(main())</div><div>File "/pkg/chem/boltztrap125/util/qe2boltz.py", line 130, in main</div><div>for ir in range(nsym):</div><div>UnboundLocalError: local variable 'nsym' referenced before assignment.</div><div> I am unable to sort out the error but I can say it may be due nscf input. So please guide me how to sort out this error?</div><div>Thanks and regards</div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font face="arial, helvetica, sans-serif" color="#0c343d" style="font-size:12.8px"><i>Mohammad Ubaid</i></font><div style="color:rgb(136,136,136);font-size:12.8px"><font face="arial, helvetica, sans-serif" color="#0c343d"><i>PhD Research Scholar</i></font></div><div style="color:rgb(136,136,136);font-size:12.8px"><font face="arial, helvetica, sans-serif" color="#0c343d"><i>Department of Physics</i></font></div><div style="color:rgb(136,136,136);font-size:12.8px"><font face="arial, helvetica, sans-serif" color="#0c343d"><i>Jamia Millia Islamia University</i></font></div><div style="color:rgb(136,136,136);font-size:12.8px"><font face="arial, helvetica, sans-serif" color="#0c343d"><i>New Delhi - 110025</i></font></div></div></div></div></div></div>