aiidalab / aiidalab-widgets-base

Reusable widgets for AiiDAlab applications
MIT License
7 stars 17 forks source link

Fix `AiidaComputerSetup` widget. #305

Closed yakutovicha closed 2 years ago

yakutovicha commented 2 years ago

The widget wasn't working correctly as during the computer configuration the value for the ssh port was of type "str". The issue is fixed by converting the value type to "int".

Additionally, the _configure_computer function got slightly simplified by using the Computer.configure() method provided by AiiDA.