Skip to content
Snippets Groups Projects

Add example notebook for full analysis

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