Page 1 of 1

bug in gyre_output:write_summary

Posted: Tue Apr 09, 2013 1:01 pm
by ccameron
Hi Rich,

When trying to write summary output to file using the default summary items list the code quits at 'freq_units'.

It just looks like you forgot the case statement for 'freq_units' in gyre_output:write_summary at line 103. So when the
item_loop : do j = 1,SIZE(item_list) hits 'freq_units' it just jumps to the case default and quits.

Chris

PS Thanks for taking the time to write this code and for making it public!

Re: bug in gyre_output:write_summary

Posted: Wed Apr 10, 2013 1:01 pm
by rhtownsend
ccameron wrote:
> Hi Rich,
>
> When trying to write summary output to file using the default summary items list
> the code quits at 'freq_units'.
>
> It just looks like you forgot the case statement for 'freq_units' in gyre_output:write_summary
> at line 103. So when the
> item_loop : do j = 1,SIZE(item_list) hits 'freq_units' it just jumps to the case
> default and quits.

Ah, well spotted! I've fixed this in the repository; do a 'hg pull && hg up' to update.

>
> Chris
>
> PS Thanks for taking the time to write this code and for making it public!

My pleasure!

cheers,

Rich