Skip to content

Commit 1ca3f03

Browse files
committed
Correct starting index for targets
1 parent 8f1dcc3 commit 1ca3f03

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/available_software/riscv_available_software.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def generate_software_table_data(software_data: dict, targets: list) -> list:
369369
@param targets: List with all the target names
370370
@return: 1D list with all the data for the table
371371
"""
372-
table_data = [" "] + [target[57:] for target in targets]
372+
table_data = [" "] + [target[55:] for target in targets]
373373

374374
for module_name, available in list(software_data.items())[::-1]:
375375
row = [module_name]
@@ -451,8 +451,8 @@ def generate_software_detail_page(
451451

452452
md_file.new_header(level=1, title="Available modules")
453453

454-
md_file.new_paragraph(f"The overview below shows which {software_name} installations are available per "
455-
f"target architecture in EESSI, ordered based on software version (new to old).")
454+
md_file.new_paragraph(f"The overview below shows which {software_name} installations are available for RISC-V "
455+
f"architecture in EESSI, ordered based on software version (new to old).")
456456
md_file.new_paragraph(f"To start using {software_name}, load one of these modules using a `module load` command "
457457
f"like:")
458458
md_file.insert_code(f"module load {newest_version}", language="shell")

0 commit comments

Comments
 (0)