[INSTRM-442] sequencePanel cmd error when comments are set with a non spsait command Created: 31/Jul/18  Updated: 22/Aug/18  Resolved: 22/Aug/18

Status: Done
Project: Instrument control development
Component/s: ics_sequencePanel
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: fmadec Assignee: arnaud.lefur
Resolution: Done Votes: 0
Labels: SM1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: SM1 Phase Three

 Description   

12:19:16.376457 cmdIn=sac ccd background exptime=4 comments="background"

12:19:16.562620 sac f text="Unmatched command: ccd background exptime=4 comments=\"background\" (exception: Invalid cmd: ccd background exptime=\"4\" comments=\"background\")"

12:19:35.892701 cmdIn=sac ccd background exptime=15 comments="bck"

12:19:36.108588 sac f text="Unmatched command: ccd background exptime=15 comments=\"bck\" (exception: Invalid cmd: ccd background exptime=\"15\" comments=\"bck\")"

12:20:01.892569 cmdIn= comments="sac ccd expose exptime=15"



 Comments   
Comment by arnaud.lefur [ 02/Aug/18 ]

I think there is a misuse in someway.

Because for the type "Command" name and comment columns should be disabled. 

I suspect you have copy + paste a sacAlign sequence and then replace the spsait command with a sac command. 

It's failing because sequencePanel is parsing the name and comments as an argument and SacActor doesn't have those.

Comment by arnaud.lefur [ 22/Aug/18 ]

I've made it a bit more robust

merged in 5762036

Generated at Sat Feb 10 16:25:03 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.