python doesn't see that tkwant has an 'operatorsHeatCurrent' module
I tried to make tkwant with heat work on a fresh Ubuntu 18.04 LTS virtualised live version, I followed the procedure written in the readme file. And when I run the example code, in 'Vitrine' branch, under the folder 'Examples, I get the following error:
Traceback (most recent call last):
File "LeadHeatCurrent.py", line 520, in <module>
main(a, t_lam, boundaries_type, num_cells, strength, degree, tmax, dt, integration_methods, integration_error, nb_points, plotSystem, showFigure, run_simulation, plots, plot_times, plot_hoppings, showPlots, params)
File "LeadHeatCurrent.py", line 439, in main
results = calculations(syst, lat, lead, tmax, t, boundaries_type, num_cells, strength, degree, times, method, nb_points, integration_error, plots, plot_times, plot_hoppings, file_name_basis, showPlots, params)
File "LeadHeatCurrent.py", line 366, in calculations
operator = tkwant.operatorsHeatCurrent.heatCurrentWithIc(syst, mu,
AttributeError: module 'tkwant' has no attribute 'operatorsHeatCurrent'
Running the file `tkwantExample.py', that doesn't use our operators, works.
@PhiRe Do you think it's due to something wrong in the installation procedure or we need to add something to tell that the module operatorsHeatCurrent
exists ? From what I am seeing operatorsHeatCurrent.pyx
is the only file that has the .pyx
extension. All the other modules are simple python .py
files.