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
There are several places in the code base where "telescope_name" is defined as a default input parameter like ['4m', '8m'] as well as "telescope_sizes" as [4, 8].
We should probably refactor that code, and pull those definition into a distinct module like "telescopes". And we should create it in such a way that it follows the open/closed principal.
At first though, it could be a simple dictionary in a telescopes.py module.
telescopes = {
"4m": 4,
"8m": 8
}
The text was updated successfully, but these errors were encountered:
There are several places in the code base where "telescope_name" is defined as a default input parameter like
['4m', '8m']
as well as "telescope_sizes" as[4, 8]
.We should probably refactor that code, and pull those definition into a distinct module like "telescopes". And we should create it in such a way that it follows the open/closed principal.
At first though, it could be a simple dictionary in a
telescopes.py
module.The text was updated successfully, but these errors were encountered: