Merge branch 'fix/better_str_comparison' into 'master'

small fix to follow python recommendations

See merge request !190
2 jobs for master in 12 minutes and 1 second (queued for 11 seconds)
Status Job ID Name Coverage
  Test
passed #1984
black

00:01:55

passed #1983
test

00:12:01

60.0%