You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently encountered an issue working on EICrecon that seems to be related to JANA2 parsing std::vector<std::string> parameters of a JOmnifactory...
To resolve eic/EICrecon#1669, I modified an algorithm (see here) to accept a vector of expressions stored as strings with the intent of providing a way to map one set of readout indices onto another. For example:
phi-fmod(phi,5)
However, the expression that gets passed to the algorithm is:
phi-fmod(phi
This seems to be JANA2 splitting on the , in the expression. Would it be possible to escape commas in strings (maybe like fmod(phi\,5)) so that the string is passed to the algorithm as a whole?
The text was updated successfully, but these errors were encountered:
I recently encountered an issue working on
EICrecon
that seems to be related to JANA2 parsingstd::vector<std::string>
parameters of a JOmnifactory...To resolve eic/EICrecon#1669, I modified an algorithm (see here) to accept a vector of expressions stored as strings with the intent of providing a way to map one set of readout indices onto another. For example:
However, the expression that gets passed to the algorithm is:
This seems to be JANA2 splitting on the
,
in the expression. Would it be possible to escape commas in strings (maybe likefmod(phi\,5)
) so that the string is passed to the algorithm as a whole?The text was updated successfully, but these errors were encountered: