Skip to content

Commit

Permalink
Try to fix Ubuntu 22.04 workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannah Bast committed Feb 23, 2024
1 parent 03370f2 commit 403466c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qlever
Original file line number Diff line number Diff line change
Expand Up @@ -406,15 +406,15 @@ class Actions:
if not self.config['data']['get_data_cmd']:
log.error(f"{RED}No GET_DATA_CMD specified in Qleverfile")
return
cmdline = self.config['data']['get_data_cmd']
get_data_cmd = self.config['data']['get_data_cmd']

# Show it.
self.show(cmdline, only_show)
self.show(get_data_cmd, only_show)
if only_show:
return

# Execute the command line.
os.system(cmdline)
subprocess.run(get_data_cmd, shell=True)
total_file_size = self.get_total_file_size(
self.config['index']['file_names'].split())
print(f"Total file size: {total_file_size:.1f} GB")
Expand Down

0 comments on commit 403466c

Please sign in to comment.