Skip to content

Commit a257faa

Browse files
authored
Merge pull request #23 from jay-tau/drishti-v0.8
fix: Drishti v0.8 compatibility
2 parents c95e628 + fdcd888 commit a257faa

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

explorer/plots/operation.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -891,10 +891,7 @@ def append_content(target_tag, source_path, part="body"):
891891
size = 176
892892

893893
file = options["file1"].split(".darshan")[0]
894-
command = "drishti --html --light --size {} --json {} --export_dir {} {}.darshan".format(
895-
size, json_file_path, file.split('/')[0], file
896-
)
897-
894+
command = f"drishti --html --light --size {size} --export_dir {os.path.dirname(file)} --json {json_file_path} {file}.darshan"
898895
args = shlex.split(command)
899896
s = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
900897
sOutput, sError = s.communicate()

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ pyranges>=0.0.120
77
darshan
88
pyarrow>=10.0.1
99
bs4>=0.0.1
10-
drishti-io>=0.5
10+
drishti-io>=0.8

0 commit comments

Comments
 (0)