Skip to content
Snippets Groups Projects

Add example notebook for full analysis

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -18,7 +18,7 @@ def choose_appropriate_storage_unit(size,starting_unit='B'):
except (ValueError):
raise(f"{starting_unit} is not a valid storage unit. Choose from 'B','kB','MB','GB', or 'TB'")
while ((size/1024) >= 1) & (exp <= 4):
while ((size/1024) >= 1) & (exp < 4):
size = size/1024
exp += 1
return exp,units[exp]
Loading