panoptes / panoptes-utils

A set of Astronomical utility functions. PANOPTES style. :hammer_and_wrench: :telescope: :stars:
https://panoptes-utils.readthedocs.io
MIT License
4 stars 9 forks source link

Add multiline option to read() method #261

Closed JAAlvarado-Montes closed 3 years ago

JAAlvarado-Montes commented 3 years ago

Hi,

This PR adds a parameter called multiline to the read() method so that it can be used for responses that have more than one line.

This was tested on Huntsman with real hardware using the class HuntsmanDome of huntsman-pocs, more specifically _get_shutter_status_dict which returns more than one line.

Please let me know any comment or suggestion.

Cheers, Jaime A.