Skip to content

Allow comma seperated list of names for inits, output files, etc. #1255

@SteveBronder

Description

@SteveBronder

Summary:

Right now we have a very ad hoc approach to figure out the names for multiple chains. For a users id and the number of chains they have requested we just append _1..{num_chains} to the end of the file name for output. For inits we look if the user gave us a file ending with _id. and if so we search for num_chain arguments ending in _1...{num_chains}.

We chose this scheme at the time because I was calling cmdstan myself from the terminal and it was a clever shorthand so I didn't have to write out a bunch of file names.

But with the number of upstream packages calling Stan it might be easier for them to programatically generate the names of the files they want and pass a comma separated list of file names.

Additional Information:

Provide any additional information here.

Current Version:

v2.34.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions