Opened 14 years ago

Closed 14 years ago

#84 closed defect (fixed)

imageFile parameter can't handle spaces in filename

Reported by: MatthewWhiting Owned by: MatthewWhiting
Priority: normal Milestone: Release-2.0
Component: Input Version: 1.1.9
Severity: normal Keywords:
Cc:

Description

If the directory pointing to the file has spaces in it, then there will be problems reading in the name. The reading will stop at the first space.

The parameter reading task needs to be made more robust against this sort of occurrence. Perhaps have a different method of reading for the filename compared to other string parameters.

Change History (2)

comment:1 Changed 14 years ago by MatthewWhiting

Status: newassigned

comment:2 Changed 14 years ago by MatthewWhiting

Resolution: fixed
Status: assignedclosed

Done in [733] & [744]. Have a new function that reads a filename, that will keep any spaces that exist within that filename. Tested on bilby and works fine.

Moved the string manipulation functions to a new file (out of param.cc) for transparency.

Closing this ticket.

Note: See TracTickets for help on using tickets.