-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pnspectra will choke on a provided region text file longer than 1024 characters #1
Comments
Provided region selection string here is truncated at 1024 characters before next condition is appended:
|
Reduced unnecessary radius precision. Should be able to get ~22 circle regions now @ ~45 chars per circle region |
A 940 char txt file of 21 circle regions worked without crashing pnspectra/evselect.
|
Thought I should note I'm currently working with SAS v21.0 |
Was able to run pnspectra successfully on ~7 observations after reducing custom regions selected such that resulting selection string for each was under 1024 characters. |
Ticket submitted by email to XMM-NEWTON HELPDESK. Error was briefly described, links were shared to this repo/issue thread, and request was made for a way to increase string length of selection expression in region file that pnspectra/mosspectra will accept without truncating. |
Equivalent to about 18 circular regions with current unnecessary 10-point precision of radius size of circles, 2-point x/y det coords, and including white space characters.
Previous region selection strings used for spatially resolved spectroscopy were all under 900 characters, so I did not face this issue with previous selection expressions output from this script.
For now, seeing if 18-circle limit works okay.
The text was updated successfully, but these errors were encountered: