Open kendak333 opened 1 year ago
Hi @KshitijT has there been any progress on this?
@kendak333 , it's a bit weird because the ddcal worker should not replace a "." in the name of the target. If possible, could you please share the full log?
@KshitijT here's the full log log-caracal.txt
Ok, I get how this is happening now. The filter_name function from dispatch_crew: https://github.com/caracal-pipeline/caracal/blob/4f716f7c7f16ff5b7face76af053fb459a06bd77/caracal/dispatch_crew/utils.py#L374 is the problem; it replaces the "." AND the "_" in the name with "-". This is supposed to be so that the output files are easy to write, but in this case the (slightly) non-standard field name gives the error above. Solution is probably to shuffle the call to filter_name around.
The ddcal worker is replacing the point in a field name with a dash, and then throwing a KeyError (presumably because 'J2023-3..' is not the field name, 'J2023.3..' is. Output from the logfile:
Here's the yaml input for the worker