Skip to content

Commit

Permalink
Removed spurious prints.
Browse files Browse the repository at this point in the history
  • Loading branch information
emeryberger committed Aug 9, 2024
1 parent fff540a commit 9136ad0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions scalene/scalene_magics.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,13 @@ def scalene(self, line: str, cell: str = "") -> None:
@line_magic
def scrun(self, line: str = "") -> None:
"""%scrun magic: see https://github.com/plasma-umass/scalene for usage info."""
print("SCRUN MAGIC")
if line:
sys.argv = ["scalene", "--ipython", *line.split()]
(args, left) = ScaleneParseArgs.parse_args()
if args:
self.run_code(args, " ".join(left)) # type: ignore

def load_ipython_extension(ip: Any) -> None:
print("LOADING")
ip.register_magics(ScaleneMagics)
with contextlib.suppress(Exception):
# For some reason, this isn't loading correctly on the web.
Expand Down

0 comments on commit 9136ad0

Please sign in to comment.