uwefladrich / scriptengine-tasks-ecearth

ScriptEngine tasks for the EC-Earth model
GNU General Public License v3.0
3 stars 2 forks source link

f-string not necessary in presentation_objects code? #51

Closed uwefladrich closed 2 years ago

uwefladrich commented 2 years ago

Small thing: https://github.com/uwefladrich/scriptengine-tasks-ecearth/blob/6f5311a7cb28727712a640a7d829c368d294d6df/helpers/presentation_objects.py#L158 is the f-string really necessary in this line? Couldn't it just be

unit_text = format_units(self.cube.units)}