Skip to content

invalid arithmetic operator #18

@soichih

Description

@soichih

I saw following error.

�[33mWARNING: Could not create bind point file in container /etc/localtime: No such file or directory
�[0m./ensembletracking.sh: line 42: 999.977*250000: syntax error: invalid arithmetic operator (error token is ".977*250000")
./ensembletracking.sh: line 61: 50+2500+1000+1000+999.977+12500: syntax error: invalid arithmetic operator (error token is ".977+12500")
=>> PBS: job killed: walltime 50424 exceeded limit 50400

This is probably caused by UI issue which allowed user to enter an invalid fiber count like the following in the config.json

   "num_vz_fibers": 999.993,

I need to implement a better number validator (to force it to be an integer) but until then, can you update the script so that it can handle such case?

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