Error : Unable to import 'config'

29 views
Skip to first unread message

KHJP

unread,
Feb 17, 2021, 12:23:59 AM2/17/21
to aestimo-users
Hi, I recently started to use Aestimo for our future publication.

I have tried to simulate the band structures under bias voltages using sample structure described in the paper (DOI: https://doi.org/10.1103/PhysRevMaterials.4.124603).

However, we have a error
  •  "Unable to import 'config'" in aestimo_eh.py.
And, when I run aestimo_eh.py is executed in this situation, it's a message from terminal
  • A1[startindex:finishindex] = x * mat1["A1"] + (1 - x) * mat2["A1"]
  • KeyError: 'A1'
I have tried to fix, 
  1. make .pylintrc, write -> init-hook="./aestimo-master"
But, it is the same as before the change.

Please check the attached files
  1.  "aestimo_eh,py" 
  2.  "sample_pn_qd_fcadiz2020_prm.py".

Yours sincerely, KHJP

aestimo_eh.py
samples_pn_fcadiz2020.py

KHJP

unread,
Feb 28, 2021, 4:36:12 AM2/28/21
to aestimo-users

I ran it with my macbook vscode and it worked. Since the PC used above was recently purchased, it seems that building the environment for pylint is a problem.

2021年2月17日水曜日 14:23:59 UTC+9 KHJP:
Reply all
Reply to author
Forward
0 new messages