Skip to content

Commit 5853d27

Browse files
committed
Set blank default for xs listing alias.
1 parent 2b1e8ab commit 5853d27

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/input_xml.F90

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2552,7 +2552,9 @@ subroutine read_cross_sections_xml()
25522552

25532553
! create dictionary entry for both name and alias
25542554
call xs_listing_dict % add_key(listing % name, i)
2555-
call xs_listing_dict % add_key(listing % alias, i)
2555+
if (listing % alias /= '') then
2556+
call xs_listing_dict % add_key(listing % alias, i)
2557+
end if
25562558
end do
25572559

25582560
end subroutine read_cross_sections_xml

src/templates/cross_sections_t.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<typedef name="ace_table_xml">
99
<component name="name" type="word" length="15" />
10-
<component name="alias" type="word" length="15" />
10+
<component name="alias" type="word" length="15" default="''" />
1111
<component name="type" type="word" length="10" default="'neutron'" />
1212
<component name="zaid" type="integer" default="0" />
1313
<component name="metastable" type="integer" default="0" />

0 commit comments

Comments
 (0)