diff --git a/explorer/plots/operation.py b/explorer/plots/operation.py index d53ed25..683309b 100644 --- a/explorer/plots/operation.py +++ b/explorer/plots/operation.py @@ -891,10 +891,7 @@ def append_content(target_tag, source_path, part="body"): size = 176 file = options["file1"].split(".darshan")[0] -command = "drishti --html --light --size {} --json {} --export_dir {} {}.darshan".format( - size, json_file_path, file.split('/')[0], file -) - +command = f"drishti --html --light --size {size} --export_dir {os.path.dirname(file)} --json {json_file_path} {file}.darshan" args = shlex.split(command) s = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE) sOutput, sError = s.communicate() diff --git a/requirements.txt b/requirements.txt index 8c2a6a4..ab1b32c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,4 +7,4 @@ pyranges>=0.0.120 darshan pyarrow>=10.0.1 bs4>=0.0.1 -drishti-io>=0.5 +drishti-io>=0.8