PolishookDavid / LAST_OCS

Code controling the LAST project Observatory
0 stars 0 forks source link

implement cardinal unit selectors in superunit commands #22

Open EastEriq opened 1 month ago

EastEriq commented 1 month ago

instead of purely ordinals. E.g. S.spawn(["01","04"]), or S.spawn({'01','04'}) instead of S.spawn([1,4]). Support various types of arguments, like strings, string arrays, cells of chars, etc; resolve unambiguous shortenings, i.e. "1" matches Unit.Id='01', etc.

EranOfek commented 1 month ago

I suggest to completely hide seraial names from user and use only carinal names. E.f., spawn([1 10]) will refer to mount 1 and mount 10. A system that allows both option is confusing. In addition, all users cares only about cardinal names.

On Thu, Jun 6, 2024 at 11:37 AM EastEriq @.***> wrote:

instead of purely ordinals. E.g. S.spawn(["01","04"]), or S.spawn({'01','04'}) instead of S.spawn([1,4]). Support various types of arguments, like strings, string arrays, cells of chars, etc; resolve unambiguous shortenings, i.e. "1" matches Unit.Id='01', etc.

— Reply to this email directly, view it on GitHub https://github.com/PolishookDavid/LAST_OCS/issues/22, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABJUQ4IVAVJC7XAMAPNYJLTZGANVXAVCNFSM6AAAAABI4H4QAOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZTONRXGA2TKMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>