We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f69620 commit efd9b1dCopy full SHA for efd9b1d
1 file changed
bindings/pyroot/pythonizations/python/ROOT/_jupyroot/helpers/utils.py
@@ -574,8 +574,10 @@ def _getFileJsCode(self):
574
return f"File version {f.GetVersion()} is too old and not supported by JSROOT"
575
576
sz = f.GetSize()
577
+ if sz > 300000000:
578
+ return f"File size {sz} is too large for JSROOT display."
579
if sz > 10000000 and not self.drawForce:
- return f"File size {sz} is too large for JSROOT display. Use '-f' flag like '%rootbrowse {self.drawFileName} -f' to show file nevertheless"
580
+ return f"File size {sz} is large for JSROOT display. Use '-f' flag like '%rootbrowse {self.drawFileName} -f' to show file nevertheless"
581
582
# create plain buffer and get pointer on it
583
u_buffer = (ctypes.c_ubyte * sz)(*range(sz))
0 commit comments