Probe-Particle / ppafm

Classical force field model for simulating atomic force microscopy images.
MIT License
49 stars 18 forks source link

Make scanner work when scan_dim is passed as a non-tuple array #281

Closed NikoOinonen closed 3 months ago

NikoOinonen commented 3 months ago

The scanner in AFMulator would fail in strange ways when the scan dimension was passed as a list or numpy array instead of a tuple. This PR fixes the problem by simply converting to a tuple on initialization.