Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Make sure patternstim input file has gid as integers  #323

Open
@pramodk

Description

@pramodk

See this internal JIRA ticket :

User has input file:

/scatter
1000.15876308    221273.0
1000.16120151    221145.0
1000.1612057     221043.0 

The second column is gid and it should be integer form i.e.

1000.15876308    221273
1000.16120151    221145
1000.1612057     221043 

We should change implementation in

while (fscanf(f, "%lf %d\n", &stime, &gid) == 2) {

Possible solutions:

  • if not an integer, throw an error
  • read as double, if it's integer then it's fine. Otherwise thrown an error

Metadata

Metadata

Assignees

No one assigned

    Labels

    beginnerGood for beginner

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions