5
« on: March 29, 2023, 09:08 »
Hi All,
I'm making a device from bulk of a molecular device (that was already optimized, and fixed where necessary).
However, for some particular file, I received this error message (see below).
This error happened at all 4 different laptop I tried on, and I have no idea how to fix it.
Can you provide some guidance on how to fix this error?
Best,
Thi
"Traceback (most recent call last):
File "zipdir/NL/GUI/Plugin/PanelBar/PanelView.py", line 256, in itemClicked
File "zipdir/NL/GUI/Tools/Builder/PanelBar.py", line 52, in widget
File "/home/xuanthi/QuantumATK/QuantumATK-S-2021.06-SP1/lib/python3.8/site-packages/AddOns/DevicePackage/CreateDeviceFromBulkPlugin.py", line 74, in widget
self._widget.setCentralRegion(use_transverse=use_transverse)
File "/home/xuanthi/QuantumATK/QuantumATK-S-2021.06-SP1/lib/python3.8/site-packages/AddOns/DevicePackage/CreateDeviceFromBulkWidget.py", line 128, in setCentralRegion
self._control.setCentralRegion()
File "/home/xuanthi/QuantumATK/QuantumATK-S-2021.06-SP1/lib/python3.8/site-packages/AddOns/DevicePackage/CreateDeviceFromBulkWidget.py", line 270, in setCentralRegion
self._electrode_size_widget.setPresenter(presenter)
File "/home/xuanthi/QuantumATK/QuantumATK-S-2021.06-SP1/lib/python3.8/site-packages/AddOns/DevicePackage/AdjustElectrodeSizeWidget.py", line 275, in setPresenter
self.updateMinimalElectrodeLengths()
File "/home/xuanthi/QuantumATK/QuantumATK-S-2021.06-SP1/lib/python3.8/site-packages/AddOns/DevicePackage/AdjustElectrodeSizeWidget.py", line 330, in updateMinimalElectrodeLengths
multiple = int(numpy.round(current_lengths / electrode_length))
TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'"