Skip to content

Rounding method results in Illegal value for max time after following manual's instructions #201

Open

Description

@lverweijen

SDC tool used: tau-argus (batch file generated using https://github.com/lverweijen/piargus)
Version used: {'name': 'TAU-ARGUS', 'version': '4.2.0', 'build': '5'}
Operating system used: Windows

The following batch file was generated:

<OPENMICRODATA>	"C:\Users\LVWN\PycharmProjects\pyargus\examples\tau\input\example.csv"
<OPENMETADATA>	"C:\Users\LVWN\PycharmProjects\pyargus\examples\tau\input\example.rda"
<SPECIFYTABLE>	"sbi""regio"|"income"||
<SAFETYRULE>	FREQ(3, 20)|ZERO(20)|NK(3, 70)
<READMICRODATA>
<SUPPRESS>	RND(1,122,0,10,0,3)
<WRITETABLE>	(1, 2, AS+, "C:\Users\LVWN\PycharmProjects\pyargus\examples\tau\output\T1.csv")

Running this results in:

30-Jan-2023 15:36:05 : <SUPPRESS> RND(1,122,0,10,0,3)
30-Jan-2023 15:36:05 : Illegal value for max time: 3

However according to the manual and the code comments the arguments are:

case "RND"://TabNo, RoundingBase, Steps, Time, Partitions, StopRule.

So after careful counting it turns out that 3 is the stop rule and not the max time. 3 is a valid argument according to the manual.
So please update the manual and code comments to have the right argument order.

Activity

  1. ppdewolf commented on Feb 1, 2023

    @ppdewolf
    Contributor

    Thanks for noticing. We'll check this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions